In RGB color space, #0504d8 hex color has a red value of 5, a green value of 4 and a blue value of 216.
In CMYK color space (used in color printing), #0504d8 hex color is composed of 97.69% cyan, 98.15% magenta, 0% yellow and 15.29% black.
#0504d8 color has a hue of 240.3 degrees, a saturation of 96.36% and a lightness of 43.1%.
#0504d8 hex color contains mainly BLUE.
The closest web safe color of #0504d8 is #0000cc
#0504d8 hex color has a decimal value of 328920.
HEX | 0504d8 | #0504d8 |
---|---|---|
RGB | 5, 4, 216 | rgb(5, 4, 216) |
RGB Percent | 1.96, 1.57, 84.71 | rgb(1.96, 1.57, 84.71) |
CMYK | 98, 98, 0, 15 | |
HSL | 240.3°, 96.36, 43.1 | hsl(240.3, 96.36%, 43.1%) |
HSV | 240.3°, 98.1, 84.7 |
XYZ | 12.501, 5.077, 65.287 |
---|---|
Hunter Lab | 22.532, 59.602, -156.02 |
CIE-LAB | 26.953, 69.134, -94.593 |
CIE-LCH | 26.953, 117.164, 306.161 |
CIE-LUV | 97.69, 98.15, 0, 15.29 |
Web Safe | 0000cc |
RGB percent of color #0504d8
CMYK percent of color #0504d8
Text with hexadecimal color #0504d8
This text has a font color of #0504d8
<p style="color:#0504d8">Text here</p>
#0504d8 Background Color
This box has a background color of #0504d8
<div style="background-color:#0504d8">Text here</div>
#0504d8 Border Color
This box has a border color of #0504d8
<div style="border: 4px solid #0504d8">Text here</div>
CSS codes
<p style="color:#0504d8">Text here</p>
<div style="background-color:#0504d8">Text here</div>
<div style="border: 4px solid #0504d8">Text here</div>
#0504d8 Color on white background
This is how a font and box color of #0504d8 will look
on a white background.
#0504d8 Color on black background
This is how a font and box color of #0504d8 hex color will look
on a black background.