How to find out which color code are valid | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to find out which color code are valid

if color codes are given like #0FF8GL something like this.

5th Sep 2018, 4:52 PM
Aashish Kumar
6 Answers
+ 6
Hi Aashish Kumar, Your GL in your provided HEX is wrong, ONLY 'ABCDEF' are valid. Hope this helps👍👍 RGB; R = Red G = Green B = Blue #RRGGBB #RGB HEX Syntax: 0123456789ABCDEF A = 10 B = 11 C = 12 D = 13 E = 14 F = 15 HEX has 16 valid bytes/numbers. #FFFFFF #FFF is white #000000 #000 is black
5th Sep 2018, 7:03 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 12
Check on my code for more valid Hexadecimal color codes.... https://code.sololearn.com/W5aH2OKguegv/?ref=app
9th Sep 2018, 7:13 AM
//Fpharbhulourz/>😋😈🤓🇳🇬
//Fpharbhulourz/>😋😈🤓🇳🇬 - avatar
+ 5
if u write in the hexa decimal manner every code is valid because in we have enumorous color and if wr write any code we will get any one of the color i am not pretty sure that every code is valid but assuming ___it is better to write in F's then we will get in RGB manner then it is easy to say which color we will get, easy means ,we can atleast guess
5th Sep 2018, 5:22 PM
gnaneswari
gnaneswari - avatar
+ 5
I personally look up a hex color picker, it lets you pick a color and see its # (#AB56FF, etc)
6th Sep 2018, 6:22 AM
Sir White Cat
Sir White Cat - avatar
+ 3
also paint 3d has the color wheel that allows u to pick the color you want and get the hexa decimal # there.
14th Sep 2018, 9:57 AM
Marie Finch
Marie Finch - avatar
5th Sep 2018, 8:41 PM
Vasile Eftodii
Vasile Eftodii - avatar