For the RGBA colour scheme, I know that A is a value between 0.0 and 1.0 and sets the transparency but what's the maximum value you can put for R,G,B? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

For the RGBA colour scheme, I know that A is a value between 0.0 and 1.0 and sets the transparency but what's the maximum value you can put for R,G,B?

4th Nov 2016, 9:39 AM
Harry Kainaro
Harry Kainaro - avatar
4 Answers
+ 7
The maximum value for RGB is FF in hexadecimal which is 225 in decimal. You can put value from 0 to 225
4th Nov 2016, 10:41 AM
Namas Thapa
Namas Thapa - avatar
+ 2
0xFF = 255...
8th Nov 2016, 8:39 PM
Deon Posey
Deon Posey - avatar
0
R,G,B all have a maximum of 255.
4th Feb 2017, 5:33 PM
john njoroge
john njoroge - avatar
0
rgb minimum 0,0,0 and maximum 255,255,255
11th Feb 2017, 2:46 PM
sujeet tiwari
sujeet tiwari - avatar