COLOR #120D1F

HEX: #120D1F
RGB: (18,13,31)

Color info

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

RGB color model

#120D1F color RGB value is (18,13,31).

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

RGB channels and saturation

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

18
13
31

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

Portions of RGB colors in percentages

R + G + B =
18 + 13 + 31 = 62 (100%)
R 18 of 62 ~ 29.03%
G 13 of 62 ~ 20.97%
B 31 of 62 ~ 50%

%29.03
%20.97
%50

CMYK color model

#120D1F color CMYK value is (42,58,0,88).

  • cyan value is 41.94%
  • magenta value is 58.06%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(42,58,0,88)
C42M58Y0K88 
(42%,58%,0%,88%)
(0.42/0.58/0.00/0.88)	

CMYK percentages

%41.94
%58.06
%0
%87.84

Codes

Color #120D1F in popluar color models

120D1F
RGB181331
HSL257°40.91%8.63%
HSB/HSV257°58.06%12.16%
CMYK41.94%58.06%0.00%
87.84%

Color #120D1F in popluar number systems.

HEX120D1F
Decimal181331
Binary10010110111111
Octal221537

Shades and tints

Shades of #120D1F

#120D1F
(18,13,31)
#110C1D
(17,12,29)
#100B1B
(16,11,27)
#0F0A19
(15,10,25)
#0E0917
(14,9,23)
#0D0815
(13,8,21)
#0C0713
(12,7,19)
#0B0611
(11,6,17)
#0A050F
(10,5,15)
#09040D
(9,4,13)
#08030B
(8,3,11)
#000000
(0,0,0)

Tints of #120D1F

#120D1F
(18,13,31)
#272333
(39,35,51)
#3C3947
(60,57,71)
#514F5B
(81,79,91)
#66656F
(102,101,111)
#7B7B83
(123,123,131)
#909197
(144,145,151)
#A5A7AB
(165,167,171)
#BABDBF
(186,189,191)
#CFD3D3
(207,211,211)
#E4E9E7
(228,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120D1F; }

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

This text font color is #120D1F.


Background Color

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

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

This div background color is #120D1F.


Border color

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

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

This div border color is #120D1F.


Opacity

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

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

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

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

This text has shadow with #120D1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #120D1F on black background.


Color preview on white background

This text has color #120D1F on white background.



Black color preview on #120D1F background

This text has black color on #120D1F background.


White color preview on #120D1F background

This text has white color on #120D1F background.