Simple Hexadecimal color question

Posted by M28 on Stack Overflow See other posts from Stack Overflow or by M28
Published on 2010-01-31T03:46:11Z Indexed on 2010/04/17 23:33 UTC
Read the original article Hit count: 302

Filed under:
|
|

I have a number between 0.0 and 1.0, I would like to convert it to a grayscale color.
White = 0
Black = 1
You can show me how in any understandable language (I prefer actionscript 3)
Please, don't just give a name of a function that a language have to do this, I want to know how it does.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about hexadecimal