+ 1

Any easier way to learn hexa code for colors? Its so boring to cram for challenge 🙄

23rd Aug 2019, 11:24 PM
Mobin Sikder
Mobin Sikder - avatar
5 ответов
+ 3
The 8 combinations you should remember: Black: 000000 Red: FF0000 Green: 00FF00 Blue: 0000FF Cyan: Green+Blue: 00FFFF Pink: Red+Blue: FF00FF Yellow: Red+Green: FFFF00 White: Red+Green+Yellow: FFFFFF (FF / 2 = 7F) (FF / 2 = 3F) 3 other combinations: Orange: Red+(Green/2): FF7F00 Purple: Pink/2: 7F007F Gray: White/2: 7F7F7F You can change the color brightness: Decrease: You can decrease the color brightness, if you relatively decrease all the 3 colors. FF0000: Decreased to half: 7F0000 FF7F00: Decreased to half: 7F3F00 Increase: You can either increase the colors relatively self, until there is atleast one color at max, such as in FF0000 1234FF. 330000 (Dark red) brightness can be increased. 330000 * 5: FF0000 FF0000 * 2: ... well we cant increase the brightness like that, but we can increase it by increasing everything, that was 0: FF7F7F: Light Red
24th Aug 2019, 7:37 AM
Seb TheS
Seb TheS - avatar
+ 5
Think of the order as RGB = Red, Green, Blue. Each colour takes up two hex characters which represent the range of values of a byte. The range is 0 to 255 in decimal or 00 to FF in hex. So pure red is FF0000, pure blue is 0000FF etc. and pure black is 000000 (no colours). When you combine the RGB in maximal amounts, you get white (FFFFFF). That's how I remember.
23rd Aug 2019, 11:30 PM
Sonic
Sonic - avatar
+ 5
Mobin Sikder you mix/add the three primary colours to get other colours. If you mix them in equal amounts like 999999 you get grey or it's extremes of white FFFFFF or black 000000. If you mix green and blue like 00FFFF you get Cyan. If you mix red and blue like FF00FF, you get Magenta etc. For some of the other colours, you just have to use a colour palette, experiment or sometimes just memorise.
23rd Aug 2019, 11:43 PM
Sonic
Sonic - avatar
+ 1
Sonic in case of other colors?
23rd Aug 2019, 11:31 PM
Mobin Sikder
Mobin Sikder - avatar
0
You have to know RGB! And then think that if r and b is FF(ff00ff) it will be purple. And think that if r is less it will be more blue color(cd00ff) Just remember that RGB is red green blue amount
24th Aug 2019, 12:19 AM
Lighton
Lighton - avatar