COLOR #12040C

HEX: #12040C
RGB: (18,4,12)

Color info

#12040C contains red, green and blue colors in about the same proportion. Web safe color of #12040C is #000000 (or #000).

RGB color model

#12040C color RGB value is (18,4,12).

  • red value is 18;
  • green value is 4;
  • blue value is 12.
RGB:
(18,4,12)
(7%,2%,5%)

RGB channels and saturation

R 18 of 255 = 7%
G 4 of 255 = 2%
B 12 of 255 = 5%

18
4
12

R + G + B ~ 5%. #12040C is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 4 + 12 = 34 (100%)
R 18 of 34 ~ 52.94%
G 4 of 34 ~ 11.76%
B 12 of 34 ~ 35.29%

%52.94
%11.76
%35.29

CMYK color model

#12040C color CMYK value is (0,78,33,93).

  • cyan value is 0.00%
  • magenta value is 77.78%
  • yellow value is 33.33%
  • key color value is 92.94%
CMYK:
(0,78,33,93)
C0M78Y33K93 
(0%,78%,33%,93%)
(0.00/0.78/0.33/0.93)	

CMYK percentages

%0
%77.78
%33.33
%92.94

Codes

Color #12040C in popluar color models

12040C
RGB18412
HSL326°63.64%4.31%
HSB/HSV326°77.78%7.06%
CMYK0.00%77.78%33.33%
92.94%

Color #12040C in popluar number systems.

HEX12040C
Decimal18412
Binary100101001100
Octal22414

Shades and tints

Shades of #12040C

#12040C
(18,4,12)
#11040B
(17,4,11)
#10040A
(16,4,10)
#0F0409
(15,4,9)
#0E0408
(14,4,8)
#0D0407
(13,4,7)
#0C0406
(12,4,6)
#0B0405
(11,4,5)
#0A0404
(10,4,4)
#090403
(9,4,3)
#080402
(8,4,2)
#000000
(0,0,0)

Tints of #12040C

#12040C
(18,4,12)
#271A22
(39,26,34)
#3C3038
(60,48,56)
#51464E
(81,70,78)
#665C64
(102,92,100)
#7B727A
(123,114,122)
#908890
(144,136,144)
#A59EA6
(165,158,166)
#BAB4BC
(186,180,188)
#CFCAD2
(207,202,210)
#E4E0E8
(228,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12040C color. Also use rgb(18,4,12) instead hex code.

Text Font Color

.myTextColor { color: #12040C; }

<p style="color:#12040C">This sample text font color is #12040C.</p>

This text font color is #12040C.


Background Color

.myBgColor { background-color: #12040C; }

<div style="background-color:#12040C">Inner text</div>

This div background color is #12040C.


Border color

.myBorderColor { border: 1px solid #12040C; }

<div style="border:3px solid #12040C">Div</div>

This div border color is #12040C.


Opacity

.myOpacity80 { color: #12040C; opacity: 0.8; }

<p style="color:#12040C;opacity:0.8;">80%</p>

Text with #12040C color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #12040C;}

<p style="text-shadow: 3px 3px 1px #12040C">Text here.</p>

This text has shadow with #12040C color.

.textShadow {text-shadow: 3px 3px 1px #12040C, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #12040C, 5px 5px 20px red">Text here.</p>

This text has shadow with #12040C primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#12040C, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#12040C, Direction=45, Strength=4)">Text</p>

This text has shadow with #12040C and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #12040C;
  -webkit-box-shadow:	1px 1px 3px 2px #12040C;
  box-shadow:		1px 1px 3px 2px #12040C;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #12040C;
-webkit-box-shadow: 1px 1px 3px 2px #12040C;
box-shadow:1px 1px 3px 2px #12040C;">
Div content here</div>
This div box has shadow with color #12040C.

Preview

Color preview on black background

This text has color #12040C on black background.


Color preview on white background

This text has color #12040C on white background.



Black color preview on #12040C background

This text has black color on #12040C background.


White color preview on #12040C background

This text has white color on #12040C background.