In RGB color space, #040bf0 hex color has a red value of 4, a green value of 11 and a blue value of 240.
In CMYK color space (used in color printing), #040bf0 hex color is composed of 98.33% cyan, 95.42% magenta, 0% yellow and 5.88% black.
#040bf0 color has a hue of 238.2 degrees, a saturation of 96.72% and a lightness of 47.8%.
#040bf0 hex color contains mainly BLUE.
The closest web safe color of #040bf0 is #0000ff
#040bf0 hex color has a decimal value of 265200.
HEX | 040bf0 | #040bf0 |
---|---|---|
RGB | 4, 11, 240 | rgb(4, 11, 240) |
RGB Percent | 1.57, 4.31, 94.12 | rgb(1.57, 4.31, 94.12) |
CMYK | 98, 95, 0, 6 | |
HSL | 238.2°, 96.72, 47.8 | hsl(238.2, 96.72%, 47.8%) |
HSV | 238.2°, 98.3, 94.1 |
XYZ | 15.898, 6.556, 82.866 |
---|---|
Hunter Lab | 25.605, 66.023, -173.961 |
CIE-LAB | 30.774, 73.877, -101.956 |
CIE-LCH | 30.774, 125.908, 305.927 |
CIE-LUV | 98.33, 95.42, 0, 5.88 |
Web Safe | 0000ff |
RGB percent of color #040bf0
CMYK percent of color #040bf0
Text with hexadecimal color #040bf0
This text has a font color of #040bf0
<p style="color:#040bf0">Text here</p>
#040bf0 Background Color
This box has a background color of #040bf0
<div style="background-color:#040bf0">Text here</div>
#040bf0 Border Color
This box has a border color of #040bf0
<div style="border: 4px solid #040bf0">Text here</div>
CSS codes
<p style="color:#040bf0">Text here</p>
<div style="background-color:#040bf0">Text here</div>
<div style="border: 4px solid #040bf0">Text here</div>
#040bf0 Color on white background
This is how a font and box color of #040bf0 will look
on a white background.
#040bf0 Color on black background
This is how a font and box color of #040bf0 hex color will look
on a black background.