COLOR #120C0C

HEX: #120C0C RGB: (18,12,12)

Color info

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

RGB color model

#120C0C color RGB value is (18,12,12).

RGB: (18,12,12) (7%, 5%, 5%)

RGB channels and saturation

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

18
12
12

R + G + B ~ 6%. #120C0C is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 12 + 12 = 42 (100%)
R 18 of 42 ~ 42.86%
G 12 of 42 ~ 28.57%
B 12 of 42 ~ 28.57'%

%42.86
%28.57
%28.57

CMYK color model

#120C0C color CMYK value is (0,33,33,93).

  • cyan value is 0.00%
  • magenta value is 33.33%
  • yellow value is 33.33%
  • key color value is 92.94%

CMYK: (0,33,33,93)
C0M33Y33K93 (0%, 33%, 33%, 93%)
(0.00 / 0.33 / 0.33 / 0.93)

CMYK percentages

%0
%33.33
%33.33
%92.94

Codes

Color #120C0C in popluar color models

12 0C 0C
RGB 18 12 12
HSL 20.00% 5.88%
HSB/HSV 33.33% 7.06%
CMYK 0.00% 33.33% 33.33%
92.94%

Color #120C0C in popluar number systems.

HEX 12 0C 0C
Decimal 18 12 12
Binary 10010 1100 1100
Octal 22 14 14

Shades and tints

Shades of #120C0C

#120C0C
(18,12,12)
#110B0B
(17,11,11)
#100A0A
(16,10,10)
#0F0909
(15,9,9)
#0E0808
(14,8,8)
#0D0707
(13,7,7)
#0C0606
(12,6,6)
#0B0505
(11,5,5)
#0A0404
(10,4,4)
#090303
(9,3,3)
#080202
(8,2,2)
#000000
(0,0,0)

Tints of #120C0C

#120C0C
(18,12,12)
#272222
(39,34,34)
#3C3838
(60,56,56)
#514E4E
(81,78,78)
#666464
(102,100,100)
#7B7A7A
(123,122,122)
#909090
(144,144,144)
#A5A6A6
(165,166,166)
#BABCBC
(186,188,188)
#CFD2D2
(207,210,210)
#E4E8E8
(228,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120C0C; }

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

This text font color is #120C0C.

Background Color

.myBgColor { background-color: #120C0C; }

<div style="background-color:#120C0C">Inner text</div>

This div background color is #120C0C.

Border color

.myBorderColor { border: 1px solid #120C0C; }

<div style="border:3px solid #120C0C">Div</div>

This div border color is #120C0C.

Opacity

.myOpacity80 { color: #120C0C; opacity: 0.8; }

<p style="color:#120C0C;opacity:0.8;">80%</p>

Text with #120C0C 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 #120C0C;}

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

This text has shadow with #120C0C color.


.textShadow {text-shadow: 3px 3px 1px #120C0C', 3px 3px 1px red;}

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

This text has shadow with #120C0C primary color and red secondary color.


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

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

This text has shadow with #120C0C and red colors in old Internet Explorer.

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #120C0C; -webkit-box-shadow: 1px 1px 3px 2px #120C0C; box-shadow:1px 1px 3px 2px #120C0C;">
Div content here
</div>

This div box has shadow with color #120C0C.

Preview

Color preview on black background

This text has color #120C0C on black background.


Color preview on white background

This text has color #120C0C on white background.


Black color preview on #120C0C background

This text has black color on #120C0C background.


White color preview on #120C0C background

This text has white color on #120C0C background.


Related colors

Complementary color

Complementary color for #hex is #EDF3F3.


I love getcolorcode.com