In RGB color space, #040ceb hex color has a red value of 4, a green value of 12 and a blue value of 235.
In CMYK color space (used in color printing), #040ceb hex color is composed of 98.3% cyan, 94.89% magenta, 0% yellow and 7.84% black.
#040ceb color has a hue of 237.9 degrees, a saturation of 96.65% and a lightness of 46.9%.
#040ceb hex color contains mainly BLUE.
The closest web safe color of #040ceb is #0000ff
#040ceb hex color has a decimal value of 265451.
HEX | 040ceb | #040ceb |
---|---|---|
RGB | 4, 12, 235 | rgb(4, 12, 235) |
RGB Percent | 1.57, 4.71, 92.16 | rgb(1.57, 4.71, 92.16) |
CMYK | 98, 95, 0, 8 | |
HSL | 237.9°, 96.65, 46.9 | hsl(237.9, 96.65%, 46.9%) |
HSV | 237.9°, 98.3, 92.2 |
XYZ | 15.177, 6.287, 79.011 |
---|---|
Hunter Lab | 25.074, 64.165, -169.279 |
CIE-LAB | 30.125, 72.444, -100.198 |
CIE-LCH | 30.125, 123.644, 305.867 |
CIE-LUV | 98.3, 94.89, 0, 7.84 |
Web Safe | 0000ff |
RGB percent of color #040ceb
CMYK percent of color #040ceb
Text with hexadecimal color #040ceb
This text has a font color of #040ceb
<p style="color:#040ceb">Text here</p>
#040ceb Background Color
This box has a background color of #040ceb
<div style="background-color:#040ceb">Text here</div>
#040ceb Border Color
This box has a border color of #040ceb
<div style="border: 4px solid #040ceb">Text here</div>
CSS codes
<p style="color:#040ceb">Text here</p>
<div style="background-color:#040ceb">Text here</div>
<div style="border: 4px solid #040ceb">Text here</div>
#040ceb Color on white background
This is how a font and box color of #040ceb will look
on a white background.
#040ceb Color on black background
This is how a font and box color of #040ceb hex color will look
on a black background.