In RGB color space, #040af2 hex color has a red value of 4, a green value of 10 and a blue value of 242.
In CMYK color space (used in color printing), #040af2 hex color is composed of 98.35% cyan, 95.87% magenta, 0% yellow and 5.1% black.
#040af2 color has a hue of 238.5 degrees, a saturation of 96.75% and a lightness of 48.2%.
#040af2 hex color contains mainly BLUE.
The closest web safe color of #040af2 is #0000ff
#040af2 hex color has a decimal value of 264946.
HEX | 040af2 | #040af2 |
---|---|---|
RGB | 4, 10, 242 | rgb(4, 10, 242) |
RGB Percent | 1.57, 3.92, 94.9 | rgb(1.57, 3.92, 94.9) |
CMYK | 98, 96, 0, 5 | |
HSL | 238.5°, 96.75, 48.2 | hsl(238.5, 96.75%, 48.2%) |
HSV | 238.5°, 98.3, 94.9 |
XYZ | 16.186, 6.654, 84.436 |
---|---|
Hunter Lab | 25.795, 66.863, -176.017 |
CIE-LAB | 31.006, 74.531, -102.702 |
CIE-LCH | 31.006, 126.896, 305.968 |
CIE-LUV | 98.35, 95.87, 0, 5.1 |
Web Safe | 0000ff |
RGB percent of color #040af2
CMYK percent of color #040af2
Text with hexadecimal color #040af2
This text has a font color of #040af2
<p style="color:#040af2">Text here</p>
#040af2 Background Color
This box has a background color of #040af2
<div style="background-color:#040af2">Text here</div>
#040af2 Border Color
This box has a border color of #040af2
<div style="border: 4px solid #040af2">Text here</div>
CSS codes
<p style="color:#040af2">Text here</p>
<div style="background-color:#040af2">Text here</div>
<div style="border: 4px solid #040af2">Text here</div>
#040af2 Color on white background
This is how a font and box color of #040af2 will look
on a white background.
#040af2 Color on black background
This is how a font and box color of #040af2 hex color will look
on a black background.