In RGB color space, #0502d2 hex color has a red value of 5, a green value of 2 and a blue value of 210.
In CMYK color space (used in color printing), #0502d2 hex color is composed of 97.62% cyan, 99.05% magenta, 0% yellow and 17.65% black.
#0502d2 color has a hue of 240.9 degrees, a saturation of 98.11% and a lightness of 41.6%.
#0502d2 hex color contains mainly BLUE.
The closest web safe color of #0502d2 is #0000cc
#0502d2 hex color has a decimal value of 328402.
HEX | 0502d2 | #0502d2 |
---|---|---|
RGB | 5, 2, 210 | rgb(5, 2, 210) |
RGB Percent | 1.96, 0.78, 82.35 | rgb(1.96, 0.78, 82.35) |
CMYK | 98, 99, 0, 18 | |
HSL | 240.9°, 98.11, 41.6 | hsl(240.9, 98.11%, 41.6%) |
HSV | 240.9°, 99, 82.4 |
XYZ | 11.717, 4.729, 61.268 |
---|---|
Hunter Lab | 21.746, 58.121, -151.821 |
CIE-LAB | 25.948, 68.034, -92.791 |
CIE-LCH | 25.948, 115.06, 306.249 |
CIE-LUV | 97.62, 99.05, 0, 17.65 |
Web Safe | 0000cc |
RGB percent of color #0502d2
CMYK percent of color #0502d2
Text with hexadecimal color #0502d2
This text has a font color of #0502d2
<p style="color:#0502d2">Text here</p>
#0502d2 Background Color
This box has a background color of #0502d2
<div style="background-color:#0502d2">Text here</div>
#0502d2 Border Color
This box has a border color of #0502d2
<div style="border: 4px solid #0502d2">Text here</div>
CSS codes
<p style="color:#0502d2">Text here</p>
<div style="background-color:#0502d2">Text here</div>
<div style="border: 4px solid #0502d2">Text here</div>
#0502d2 Color on white background
This is how a font and box color of #0502d2 will look
on a white background.
#0502d2 Color on black background
This is how a font and box color of #0502d2 hex color will look
on a black background.