获得较深颜色的十六进制code对于给定的颜色的十六进制code [英] Get darker color hex code for given color hex code

查看:183
本文介绍了获得较深颜色的十六进制code对于给定的颜色的十六进制code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获得较深颜色的十六进制code对于给定的颜色(重新psented十六进制code $ P $)。

例如,对于给定的颜色#999999我想获得较深的十六进制颜色,即它可以是#666666,#因为是666666暗比#999999,他们是灰色

再比如,对于给定的橙色,我想获得更暗橙色的十六进制code。

假设我们使用ActionScript 3。

How to get darker color hex code for the given color(represented with hex code).

For example, for given color #999999 i want to get darker hex color, namely it can be #666666, because #666666 is darker than #999999, and they are GREY

Another example, for given orange color, I want to get darker orange color hex code.

Assume we use ActionScript 3.

推荐答案

该链接有一个教程,做了你在找什么: http://www.veryinteractivepeople.com/?p=323

This link has a tutorial that does what you are looking for: http://www.veryinteractivepeople.com/?p=323

祝你好运!

这篇关于获得较深颜色的十六进制code对于给定的颜色的十六进制code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆