获得较深颜色的十六进制code对于给定的颜色的十六进制code颜色、较深、code、十六进制

2023-09-08 13:55:31 作者:千万种野心

如何获得较深颜色的十六进制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

祝你好运!