In RGB color space, #0504cc hex color has a red value of 5, a green value of 4 and a blue value of 204.
In CMYK color space (used in color printing), #0504cc hex color is composed of 97.55% cyan, 98.04% magenta, 0% yellow and 20% black.
#0504cc color has a hue of 240.3 degrees, a saturation of 96.15% and a lightness of 40.8%.
#0504cc hex color contains mainly BLUE.
The closest web safe color of #0504cc is #0000cc
#0504cc hex color has a decimal value of 328908.
HEX | 0504cc | #0504cc |
---|---|---|
RGB | 5, 4, 204 | rgb(5, 4, 204) |
RGB Percent | 1.96, 1.57, 80 | rgb(1.96, 1.57, 80) |
CMYK | 98, 98, 0, 20 | |
HSL | 240.3°, 96.15, 40.8 | hsl(240.3, 96.15%, 40.8%) |
HSV | 240.3°, 98, 80 |
XYZ | 11.005, 4.479, 57.411 |
---|---|
Hunter Lab | 21.164, 55.783, -146.022 |
CIE-LAB | 25.196, 66.131, -90.548 |
CIE-LCH | 25.196, 112.126, 306.142 |
CIE-LUV | 97.55, 98.04, 0, 20 |
Web Safe | 0000cc |
RGB percent of color #0504cc
CMYK percent of color #0504cc
Text with hexadecimal color #0504cc
This text has a font color of #0504cc
<p style="color:#0504cc">Text here</p>
#0504cc Background Color
This box has a background color of #0504cc
<div style="background-color:#0504cc">Text here</div>
#0504cc Border Color
This box has a border color of #0504cc
<div style="border: 4px solid #0504cc">Text here</div>
CSS codes
<p style="color:#0504cc">Text here</p>
<div style="background-color:#0504cc">Text here</div>
<div style="border: 4px solid #0504cc">Text here</div>
#0504cc Color on white background
This is how a font and box color of #0504cc will look
on a white background.
#0504cc Color on black background
This is how a font and box color of #0504cc hex color will look
on a black background.