In RGB color space, #040cb0 hex color has a red value of 4, a green value of 12 and a blue value of 176.
In CMYK color space (used in color printing), #040cb0 hex color is composed of 97.73% cyan, 93.18% magenta, 0% yellow and 30.98% black.
#040cb0 color has a hue of 237.2 degrees, a saturation of 95.56% and a lightness of 35.3%.
#040cb0 hex color contains mainly BLUE.
The closest web safe color of #040cb0 is #000099
#040cb0 hex color has a decimal value of 265392.
HEX | 040cb0 | #040cb0 |
---|---|---|
RGB | 4, 12, 176 | rgb(4, 12, 176) |
RGB Percent | 1.57, 4.71, 69.02 | rgb(1.57, 4.71, 69.02) |
CMYK | 98, 93, 0, 31 | |
HSL | 237.2°, 95.56, 35.3 | hsl(237.2, 95.56%, 35.3%) |
HSV | 237.2°, 97.7, 69 |
XYZ | 8.018, 3.423, 41.312 |
---|---|
Hunter Lab | 18.501, 44.98, -119.439 |
CIE-LAB | 21.664, 56.942, -79.851 |
CIE-LCH | 21.664, 98.074, 305.493 |
CIE-LUV | 97.73, 93.18, 0, 30.98 |
Web Safe | 000099 |
RGB percent of color #040cb0
CMYK percent of color #040cb0
Text with hexadecimal color #040cb0
This text has a font color of #040cb0
<p style="color:#040cb0">Text here</p>
#040cb0 Background Color
This box has a background color of #040cb0
<div style="background-color:#040cb0">Text here</div>
#040cb0 Border Color
This box has a border color of #040cb0
<div style="border: 4px solid #040cb0">Text here</div>
CSS codes
<p style="color:#040cb0">Text here</p>
<div style="background-color:#040cb0">Text here</div>
<div style="border: 4px solid #040cb0">Text here</div>
#040cb0 Color on white background
This is how a font and box color of #040cb0 will look
on a white background.
#040cb0 Color on black background
This is how a font and box color of #040cb0 hex color will look
on a black background.