+ 7
How can we know the exact code of hexadecimal for a particular color generated from RGB mixture??
And also how can we tell the particular color by looking hexadecimal code.
8 ответов
+ 5
Beside hex code, you can use color names
https://www.w3schools.com/cssref/css_colors.asp
+ 5
i answered a similar question before , but i'm not able to find it so here is another short explanation.
each 2 digits of the hex code, stands for red, green and blue. hexadecimal values go from 0-9, then istead of 10, it is A, then B, C, D, E and F. In total we have from 0 to F (or 0-F).
so now we kmow the minimum for each 2 digits can be 00(black), and the maximum FF(white)
for exemple, if you have the following hex code: #FF0000, means that you have all red, no green and no blue.if you want no red, all green and no blue, it is #00FF00. by this logic you can try to mix values like #FFFF00(all red and all green), which gives you yellow.
What you can do is try to remember easier shades too from this logic.
Pure conversion between RGB and Hex values are almost impossible to be done just by looking. That's why there are calculators/color pickers all around.
+ 4
https://code.sololearn.com/WPN1nDX3v0O9/?ref=app
Pick the colors here.
+ 4
If using js, try w3schools w3color.js
https://www.w3schools.com/lib/w3color.js
+ 3
by converting automatically with my amazing code 😃 hahaha
https://code.sololearn.com/W3CMecJLcM18/?ref=app
+ 3
Hey dude is there any alternative than code?
+ 3
Thanks dude
+ 1
Many online color pickers available. If you search web color picker on Google. It displays a box select any color it will show hexadecimal value beside it.