In RGB color space, #040cfb hex color has a red value of 4, a green value of 12 and a blue value of 251.
In CMYK color space (used in color printing), #040cfb hex color is composed of 98.41% cyan, 95.22% magenta, 0% yellow and 1.57% black.
#040cfb color has a hue of 238.1 degrees, a saturation of 96.86% and a lightness of 50%.
#040cfb hex color contains mainly BLUE.
The closest web safe color of #040cfb is #0000ff
#040cfb hex color has a decimal value of 265467.
HEX | 040cfb | #040cfb |
---|---|---|
RGB | 4, 12, 251 | rgb(4, 12, 251) |
RGB Percent | 1.57, 4.71, 98.43 | rgb(1.57, 4.71, 98.43) |
CMYK | 98, 95, 0, 2 | |
HSL | 238.1°, 96.86, 50 | hsl(238.1, 96.86%, 50%) |
HSV | 238.1°, 98.4, 98.4 |
XYZ | 17.594, 7.254, 91.74 |
---|---|
Hunter Lab | 26.933, 69.471, -183.1 |
CIE-LAB | 32.378, 76.429, -105.488 |
CIE-LCH | 32.378, 130.266, 305.924 |
CIE-LUV | 98.41, 95.22, 0, 1.57 |
Web Safe | 0000ff |
RGB percent of color #040cfb
CMYK percent of color #040cfb
Text with hexadecimal color #040cfb
This text has a font color of #040cfb
<p style="color:#040cfb">Text here</p>
#040cfb Background Color
This box has a background color of #040cfb
<div style="background-color:#040cfb">Text here</div>
#040cfb Border Color
This box has a border color of #040cfb
<div style="border: 4px solid #040cfb">Text here</div>
CSS codes
<p style="color:#040cfb">Text here</p>
<div style="background-color:#040cfb">Text here</div>
<div style="border: 4px solid #040cfb">Text here</div>
#040cfb Color on white background
This is how a font and box color of #040cfb will look
on a white background.
#040cfb Color on black background
This is how a font and box color of #040cfb hex color will look
on a black background.