In RGB color space, #0504f5 hex color has a red value of 5, a green value of 4 and a blue value of 245.
In CMYK color space (used in color printing), #0504f5 hex color is composed of 97.96% cyan, 98.37% magenta, 0% yellow and 3.92% black.
#0504f5 color has a hue of 240.2 degrees, a saturation of 96.79% and a lightness of 48.8%.
#0504f5 hex color contains mainly BLUE.
The closest web safe color of #0504f5 is #0000ff
#0504f5 hex color has a decimal value of 328949.
HEX | 0504f5 | #0504f5 |
---|---|---|
RGB | 5, 4, 245 | rgb(5, 4, 245) |
RGB Percent | 1.96, 1.57, 96.08 | rgb(1.96, 1.57, 96.08) |
CMYK | 98, 98, 0, 4 | |
HSL | 240.2°, 96.79, 48.8 | hsl(240.2, 96.79%, 48.8%) |
HSV | 240.2°, 98.4, 96.1 |
XYZ | 16.587, 6.712, 86.807 |
---|---|
Hunter Lab | 25.908, 68.944, -180.525 |
CIE-LAB | 31.142, 76.214, -104.171 |
CIE-LCH | 31.142, 129.074, 306.19 |
CIE-LUV | 97.96, 98.37, 0, 3.92 |
Web Safe | 0000ff |
RGB percent of color #0504f5
CMYK percent of color #0504f5
Text with hexadecimal color #0504f5
This text has a font color of #0504f5
<p style="color:#0504f5">Text here</p>
#0504f5 Background Color
This box has a background color of #0504f5
<div style="background-color:#0504f5">Text here</div>
#0504f5 Border Color
This box has a border color of #0504f5
<div style="border: 4px solid #0504f5">Text here</div>
CSS codes
<p style="color:#0504f5">Text here</p>
<div style="background-color:#0504f5">Text here</div>
<div style="border: 4px solid #0504f5">Text here</div>
#0504f5 Color on white background
This is how a font and box color of #0504f5 will look
on a white background.
#0504f5 Color on black background
This is how a font and box color of #0504f5 hex color will look
on a black background.