COLOR #120C1B

HEX: #120C1B
RGB: (18,12,27)

Color info

#120C1B contains red, green and blue colors in about the same proportion. Web safe color of #120C1B is #000033 (or #003).

RGB color model

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

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

RGB channels and saturation

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

18
12
27

R + G + B ~ 8%. #120C1B is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 12 + 27 = 57 (100%)
R 18 of 57 ~ 31.58%
G 12 of 57 ~ 21.05%
B 27 of 57 ~ 47.37%

%31.58
%21.05
%47.37

CMYK color model

#120C1B color CMYK value is (33,56,0,89).

  • cyan value is 33.33%
  • magenta value is 55.56%
  • yellow value is 0.00%
  • key color value is 89.41%
CMYK:
(33,56,0,89)
C33M56Y0K89 
(33%,56%,0%,89%)
(0.33/0.56/0.00/0.89)	

CMYK percentages

%33.33
%55.56
%0
%89.41

Codes

Color #120C1B in popluar color models

120C1B
RGB181227
HSL264°38.46%7.65%
HSB/HSV264°55.56%10.59%
CMYK33.33%55.56%0.00%
89.41%

Color #120C1B in popluar number systems.

HEX120C1B
Decimal181227
Binary10010110011011
Octal221433

Shades and tints

Shades of #120C1B

#120C1B
(18,12,27)
#110B19
(17,11,25)
#100A17
(16,10,23)
#0F0915
(15,9,21)
#0E0813
(14,8,19)
#0D0711
(13,7,17)
#0C060F
(12,6,15)
#0B050D
(11,5,13)
#0A040B
(10,4,11)
#090309
(9,3,9)
#080207
(8,2,7)
#000000
(0,0,0)

Tints of #120C1B

#120C1B
(18,12,27)
#27222F
(39,34,47)
#3C3843
(60,56,67)
#514E57
(81,78,87)
#66646B
(102,100,107)
#7B7A7F
(123,122,127)
#909093
(144,144,147)
#A5A6A7
(165,166,167)
#BABCBB
(186,188,187)
#CFD2CF
(207,210,207)
#E4E8E3
(228,232,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120C1B; }

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

This text font color is #120C1B.


Background Color

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

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

This div background color is #120C1B.


Border color

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

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

This div border color is #120C1B.


Opacity

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

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

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

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

This text has shadow with #120C1B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #120C1B on black background.


Color preview on white background

This text has color #120C1B on white background.



Black color preview on #120C1B background

This text has black color on #120C1B background.


White color preview on #120C1B background

This text has white color on #120C1B background.