Color spaces of #040f12
RGB | 4 | 15 | 18 |
---|---|---|---|
HSL | 0.54 | 0.64 | 0.04 |
HSV | 193° | 78° | 7° |
CMYK | 0.78 | 0.17 | 0.00 0.93 |
XYZ | 0.3301 | 0.4111 | 0.6342 |
Yxy | 0.4111 | 0.2400 | 0.2989 |
Hunter Lab | 6.4117 | -2.0306 | -1.3763 |
CIE-Lab | 3.7134 | -2.4840 | -2.6688 |
#040f12 color RGB value is (4,15,18).
#040f12 hex color red value is 4, green value is 15 and the blue value of its RGB is 18. Cylindrical-coordinate representations (also known as HSL) of color #040f12 hue: 0.54 , saturation: 0.64 and the lightness value of 040f12 is 0.04.
The process color (four color CMYK) of #040f12 color hex is 0.78, 0.17, 0.00, 0.93. Web safe color of #040f12 is #000000. Color #040f12 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00001111 | 00010010 |
Octal | 4 | 17 | 22 |
Decimal | 4 | 15 | 18 |
Hex | 4 | F | 12 |
Shades of #040f12
Tints of #040f12
RGB Percentages of Color #040f12
CMYK Percentages of Color #040f12
Complementary Color
#040f12 | #120704 |
#040f12 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#040f12 Color Preview on White Background
Lorem ipsum dolor sit amet.
#040f12 Color CSS Codes
.mybgcolor {background-color:#040f12; } .myforecolor {color:#040f12; } .mybordercolor {border:3px solid #040f12; }
#040f12 Text Font Color
<p style="color:#040f12">Text here</p>
This sample text font color is #040f12
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#040f12 Background Color
<div style="background-color:#040f12">
Div content here</div>
This div background color is #040f12
#040f12 Border Color
<div style="border:3px solid #040f12">
Div here</div>
This div border color is #040f12
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,15,18, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #040f12; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040f12; -webkit-box-shadow: 1px 1px 3px 2px #040f12; box-shadow: 1px 1px 3px 2px #040f12; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,15,18, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #040f12">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #040f12; -webkit-box-shadow: 1px 1px 3px 2px #040f12; box-shadow: 1px 1px 3px 2px #040f12;">
Div content here</div>
This div box has shadow with color #040f12
Comments
No comments written yet.
Please login to write comment.