In RGB color space, #040ff2 hex color has a red value of 4, a green value of 15 and a blue value of 242.
In CMYK color space (used in color printing), #040ff2 hex color is composed of 98.35% cyan, 93.8% magenta, 0% yellow and 5.1% black.
#040ff2 color has a hue of 237.2 degrees, a saturation of 96.75% and a lightness of 48.2%.
#040ff2 hex color contains mainly BLUE.
The closest web safe color of #040ff2 is #0000ff
#040ff2 hex color has a decimal value of 266226.
HEX | 040ff2 | #040ff2 |
---|---|---|
RGB | 4, 15, 242 | rgb(4, 15, 242) |
RGB Percent | 1.57, 5.88, 94.9 | rgb(1.57, 5.88, 94.9) |
CMYK | 98, 94, 0, 5 | |
HSL | 237.2°, 96.75, 48.2 | hsl(237.2, 96.75%, 48.2%) |
HSV | 237.2°, 98.3, 94.9 |
XYZ | 16.248, 6.778, 84.456 |
---|---|
Hunter Lab | 26.035, 65.84, -174.112 |
CIE-LAB | 31.296, 73.634, -102.216 |
CIE-LCH | 31.296, 125.976, 305.768 |
CIE-LUV | 98.35, 93.8, 0, 5.1 |
Web Safe | 0000ff |
RGB percent of color #040ff2
CMYK percent of color #040ff2
Text with hexadecimal color #040ff2
This text has a font color of #040ff2
<p style="color:#040ff2">Text here</p>
#040ff2 Background Color
This box has a background color of #040ff2
<div style="background-color:#040ff2">Text here</div>
#040ff2 Border Color
This box has a border color of #040ff2
<div style="border: 4px solid #040ff2">Text here</div>
CSS codes
<p style="color:#040ff2">Text here</p>
<div style="background-color:#040ff2">Text here</div>
<div style="border: 4px solid #040ff2">Text here</div>
#040ff2 Color on white background
This is how a font and box color of #040ff2 will look
on a white background.
#040ff2 Color on black background
This is how a font and box color of #040ff2 hex color will look
on a black background.