COLOR #120C1F

HEX: #120C1F RGB: (18,12,31)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

18
12
31

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

Portions of RGB colors in percentages

R + G + B = 18 + 12 + 31 = 61 (100%)
R 18 of 61 ~ 29.51%
G 12 of 61 ~ 19.67%
B 31 of 61 ~ 50.82'%

%29.51
%19.67
%50.82

CMYK color model

#120C1F color CMYK value is (42,61,0,88).

  • cyan value is 41.94%
  • magenta value is 61.29%
  • yellow value is 0.00%
  • key color value is 87.84%

CMYK: (42,61,0,88)
C42M61Y0K88 (42%, 61%, 0%, 88%)
(0.42 / 0.61 / 0.00 / 0.88)

CMYK percentages

%41.94
%61.29
%0
%87.84

Codes

Color #120C1F in popluar color models

12 0C 1F
RGB 18 12 31
HSL 259° 44.19% 8.43%
HSB/HSV 259° 61.29% 12.16%
CMYK 41.94% 61.29% 0.00%
87.84%

Color #120C1F in popluar number systems.

HEX 12 0C 1F
Decimal 18 12 31
Binary 10010 1100 11111
Octal 22 14 37

Shades and tints

Shades of #120C1F

#120C1F
(18,12,31)
#110B1D
(17,11,29)
#100A1B
(16,10,27)
#0F0919
(15,9,25)
#0E0817
(14,8,23)
#0D0715
(13,7,21)
#0C0613
(12,6,19)
#0B0511
(11,5,17)
#0A040F
(10,4,15)
#09030D
(9,3,13)
#08020B
(8,2,11)
#000000
(0,0,0)

Tints of #120C1F

#120C1F
(18,12,31)
#272233
(39,34,51)
#3C3847
(60,56,71)
#514E5B
(81,78,91)
#66646F
(102,100,111)
#7B7A83
(123,122,131)
#909097
(144,144,151)
#A5A6AB
(165,166,171)
#BABCBF
(186,188,191)
#CFD2D3
(207,210,211)
#E4E8E7
(228,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120C1F; }

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

This text font color is #120C1F.

Background Color

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

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

This div background color is #120C1F.

Border color

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

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

This div border color is #120C1F.

Opacity

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

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

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

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

This text has shadow with #120C1F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #120C1F.

Preview

Color preview on black background

This text has color #120C1F on black background.


Color preview on white background

This text has color #120C1F on white background.


Black color preview on #120C1F background

This text has black color on #120C1F background.


White color preview on #120C1F background

This text has white color on #120C1F background.


Related colors

Complementary color

Complementary color for #hex is #EDF3E0.


I love getcolorcode.com

Triadic colors

1 #1F120C and #0C1F12 with #120C1F are triadic colors.

2 #1F0C12 and #0C121F with #120C1F are triadic colors.