In RGB color space, #040afd hex color has a red value of 4, a green value of 10 and a blue value of 253.
In CMYK color space (used in color printing), #040afd hex color is composed of 98.42% cyan, 96.05% magenta, 0% yellow and 0.78% black.
#040afd color has a hue of 238.6 degrees, a saturation of 98.42% and a lightness of 50.4%.
#040afd hex color contains mainly BLUE.
The closest web safe color of #040afd is #0000ff
#040afd hex color has a decimal value of 264957.
HEX | 040afd | #040afd |
---|---|---|
RGB | 4, 10, 253 | rgb(4, 10, 253) |
RGB Percent | 1.57, 3.92, 99.22 | rgb(1.57, 3.92, 99.22) |
CMYK | 98, 96, 0, 1 | |
HSL | 238.6°, 98.42, 50.4 | hsl(238.6, 98.42%, 50.4%) |
HSV | 238.6°, 98.4, 99.2 |
XYZ | 17.888, 7.335, 93.401 |
---|---|
Hunter Lab | 27.083, 70.501, -185.513 |
CIE-LAB | 32.558, 77.235, -106.312 |
CIE-LCH | 32.558, 131.406, 305.998 |
CIE-LUV | 98.42, 96.05, 0, 0.78 |
Web Safe | 0000ff |
RGB percent of color #040afd
CMYK percent of color #040afd
Text with hexadecimal color #040afd
This text has a font color of #040afd
<p style="color:#040afd">Text here</p>
#040afd Background Color
This box has a background color of #040afd
<div style="background-color:#040afd">Text here</div>
#040afd Border Color
This box has a border color of #040afd
<div style="border: 4px solid #040afd">Text here</div>
CSS codes
<p style="color:#040afd">Text here</p>
<div style="background-color:#040afd">Text here</div>
<div style="border: 4px solid #040afd">Text here</div>
#040afd Color on white background
This is how a font and box color of #040afd will look
on a white background.
#040afd Color on black background
This is how a font and box color of #040afd hex color will look
on a black background.