In RGB color space, #0504f0 hex color has a red value of 5, a green value of 4 and a blue value of 240.
In CMYK color space (used in color printing), #0504f0 hex color is composed of 97.92% cyan, 98.33% magenta, 0% yellow and 5.88% black.
#0504f0 color has a hue of 240.3 degrees, a saturation of 96.72% and a lightness of 47.8%.
#0504f0 hex color contains mainly BLUE.
The closest web safe color of #0504f0 is #0000ff
#0504f0 hex color has a decimal value of 328944.
HEX | 0504f0 | #0504f0 |
---|---|---|
RGB | 5, 4, 240 | rgb(5, 4, 240) |
RGB Percent | 1.96, 1.57, 94.12 | rgb(1.96, 1.57, 94.12) |
CMYK | 98, 98, 0, 6 | |
HSL | 240.3°, 96.72, 47.8 | hsl(240.3, 96.72%, 47.8%) |
HSV | 240.3°, 98.3, 94.1 |
XYZ | 15.834, 6.41, 82.841 |
---|---|
Hunter Lab | 25.318, 67.328, -176.276 |
CIE-LAB | 30.424, 75.015, -102.541 |
CIE-LCH | 30.424, 127.051, 306.188 |
CIE-LUV | 97.92, 98.33, 0, 5.88 |
Web Safe | 0000ff |
RGB percent of color #0504f0
CMYK percent of color #0504f0
Text with hexadecimal color #0504f0
This text has a font color of #0504f0
<p style="color:#0504f0">Text here</p>
#0504f0 Background Color
This box has a background color of #0504f0
<div style="background-color:#0504f0">Text here</div>
#0504f0 Border Color
This box has a border color of #0504f0
<div style="border: 4px solid #0504f0">Text here</div>
CSS codes
<p style="color:#0504f0">Text here</p>
<div style="background-color:#0504f0">Text here</div>
<div style="border: 4px solid #0504f0">Text here</div>
#0504f0 Color on white background
This is how a font and box color of #0504f0 will look
on a white background.
#0504f0 Color on black background
This is how a font and box color of #0504f0 hex color will look
on a black background.