Hex #040f12 Color

#040f12
equivalent to

RGB

(4, 15, 18)

Details of #040f12

RGB
XYZ
HSL
CMYK
CIE-Lab
Yxy
HSV
Hunter Lab
4
0.3301
0.54
0.78
3.7137
0.4111
193°
6.4120
15
0.4111
0.64
0.17
-2.4863
0.2400
78°
-2.0321
18
0.6342
0.04
0.00   0.93
-2.6686
0.2989
-1.3741

Base Numbers

Base
Binary
Octal
Decimal
Hex
Red
100
4
4
4
Green
1111
17
15
F
Blue
10010
22
18
12

RGB in % of #040f12

%10.81
%40.54
%48.65

CMYK in % of #040f12

%78
%17
%0
%93

Triads of color #040f12

#040f12 #0f1204 #120412

Similar Colors to #040f12

#040f12 #04120e #040812

Preview Color #040f12 on black ground

#040f12 is very interesting for text.

Preview Color #040f12 on white ground

#040f12 is very interesting for text.

CSS Codes #040f12 color

.mybgcolor {background-color:#040f12; }
.myforecolor {color:#040f12; }
.mybordercolor {border:3px solid #040f12; }

Text Font Color #040f12

<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.


Background Color #040f12

<div style="background-color:#040f12">
Div content here</div>

This div background color is #040f12


Border Color #040f12

<div style="border:3px solid #040f12">
Div here</div>

The color of this border is #040f12


Examples Css3

.textShadowRgb {text-shadow: 4px 4px 2px rgba(0,0,0, 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 using RGB

<p style="text-shadow: 4px 4px 2px rgba(0,0,0, 0.8);">Text here</p>
				

The shadow of this text using RGB.


Text Shadow using Hex

<p style="text-shadow: 4px 4px 2px #040f12">Text here</p>
				

The shadow of this text using hex.


Shadow of Div

<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>

The shadow of div box using color #040f12