If you have the ASCII code for a number you can either subtract 30h or mask off the upper four bits and you will be left with the number itself. The color values are defined in values between 00 and FF (instead of from 0 to 255 in RGB). The first two letters/numbers refer to red, the next two refer to green, and the last two refer to blue. Hex color codes start with a pound sign or hashtag (#) and are followed by six letters and/or numbers. ALSO READ how to decode hex numbers How do you read a color code?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |