![]() #ff0000 can be shortened to #f00, and #ffffff can be shortened to #fff.Īnother way to declare a color is to use RGB or RGBa. ![]() If both values in each of the three RGB pairings (R, G, and B) are the same, then the color code can be shortened into three characters (the first digit of each pairing). #ff0000, for example, is bright red, where the red component of the color is 256 bits (ff) and the corresponding green and blue portions of the color is 0 (00). Hex code is used to denote RGB components of a color in base-16 hexadecimal notation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |