In RGB color space, #0504f1 hex color has a red value of 5, a green value of 4 and a blue value of 241.
In CMYK color space (used in color printing), #0504f1 hex color is composed of 97.93% cyan, 98.34% magenta, 0% yellow and 5.49% black.
#0504f1 color has a hue of 240.3 degrees, a saturation of 96.73% and a lightness of 48%.
#0504f1 hex color contains mainly BLUE.
The closest web safe color of #0504f1 is #0000ff
#0504f1 hex color has a decimal value of 328945.
HEX | 0504f1 | #0504f1 |
---|---|---|
RGB | 5, 4, 241 | rgb(5, 4, 241) |
RGB Percent | 1.96, 1.57, 94.51 | rgb(1.96, 1.57, 94.51) |
CMYK | 98, 98, 0, 5 | |
HSL | 240.3°, 96.73, 48 | hsl(240.3, 96.73%, 48%) |
HSV | 240.3°, 98.3, 94.5 |
XYZ | 15.983, 6.47, 83.626 |
---|---|
Hunter Lab | 25.436, 67.648, -177.121 |
CIE-LAB | 30.569, 75.253, -102.866 |
CIE-LCH | 30.569, 127.454, 306.188 |
CIE-LUV | 97.93, 98.34, 0, 5.49 |
Web Safe | 0000ff |
RGB percent of color #0504f1
CMYK percent of color #0504f1
Text with hexadecimal color #0504f1
This text has a font color of #0504f1
<p style="color:#0504f1">Text here</p>
#0504f1 Background Color
This box has a background color of #0504f1
<div style="background-color:#0504f1">Text here</div>
#0504f1 Border Color
This box has a border color of #0504f1
<div style="border: 4px solid #0504f1">Text here</div>
CSS codes
<p style="color:#0504f1">Text here</p>
<div style="background-color:#0504f1">Text here</div>
<div style="border: 4px solid #0504f1">Text here</div>
#0504f1 Color on white background
This is how a font and box color of #0504f1 will look
on a white background.
#0504f1 Color on black background
This is how a font and box color of #0504f1 hex color will look
on a black background.