COLOR #120812

HEX: #120812
RGB: (18,8,18)

Color info

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

RGB color model

#120812 color RGB value is (18,8,18).

  • red value is 18;
  • green value is 8;
  • blue value is 18.
RGB:
(18,8,18)
(7%,3%,7%)

RGB channels and saturation

R 18 of 255 = 7%
G 8 of 255 = 3%
B 18 of 255 = 7%

18
8
18

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

Portions of RGB colors in percentages

R + G + B =
18 + 8 + 18 = 44 (100%)
R 18 of 44 ~ 40.91%
G 8 of 44 ~ 18.18%
B 18 of 44 ~ 40.91%

%40.91
%18.18
%40.91

CMYK color model

#120812 color CMYK value is (0,56,0,93).

  • cyan value is 0.00%
  • magenta value is 55.56%
  • yellow value is 0.00%
  • key color value is 92.94%
CMYK:
(0,56,0,93)
C0M56Y0K93 
(0%,56%,0%,93%)
(0.00/0.56/0.00/0.93)	

CMYK percentages

%0
%55.56
%0
%92.94

Codes

Color #120812 in popluar color models

120812
RGB18818
HSL300°38.46%5.10%
HSB/HSV300°55.56%7.06%
CMYK0.00%55.56%0.00%
92.94%

Color #120812 in popluar number systems.

HEX120812
Decimal18818
Binary10010100010010
Octal221022

Shades and tints

Shades of #120812

#120812
(18,8,18)
#110811
(17,8,17)
#100810
(16,8,16)
#0F080F
(15,8,15)
#0E080E
(14,8,14)
#0D080D
(13,8,13)
#0C080C
(12,8,12)
#0B080B
(11,8,11)
#0A080A
(10,8,10)
#090809
(9,8,9)
#080808
(8,8,8)
#000000
(0,0,0)

Tints of #120812

#120812
(18,8,18)
#271E27
(39,30,39)
#3C343C
(60,52,60)
#514A51
(81,74,81)
#666066
(102,96,102)
#7B767B
(123,118,123)
#908C90
(144,140,144)
#A5A2A5
(165,162,165)
#BAB8BA
(186,184,186)
#CFCECF
(207,206,207)
#E4E4E4
(228,228,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120812; }

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

This text font color is #120812.


Background Color

.myBgColor { background-color: #120812; }

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

This div background color is #120812.


Border color

.myBorderColor { border: 1px solid #120812; }

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

This div border color is #120812.


Opacity

.myOpacity80 { color: #120812; opacity: 0.8; }

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

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

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

This text has shadow with #120812 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #120812 on black background.


Color preview on white background

This text has color #120812 on white background.



Black color preview on #120812 background

This text has black color on #120812 background.


White color preview on #120812 background

This text has white color on #120812 background.