0

Can you help me understand RGB

17th Mar 2019, 6:13 PM
Shadrack Muinde
Shadrack Muinde - avatar
1 Answer
+ 4
//RGB colors are represented as triplets of numbers in the range of 0-255, representing the red, green and blue components of the resulting color. Each RGB color has a corresponding hexadecimal value, which is expressed as a six-digit combination of numbers and letters and starts with the # sign. The numbers and letters in a hex value can be in the range [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F]. The hexadecimal is basically a base 16 representation of the RGB value, which is a base 10 value. source :https://www.sololearn.com/learn/5742/?ref=app //on css lesson https://www.sololearn.com/learn/CSS/1089/?ref=app
17th Mar 2019, 6:26 PM
Sudarshan Rai
Sudarshan Rai - avatar