COLOR #120C21

HEX: #120C21 RGB: (18,12,33)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

18
12
33

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

Portions of RGB colors in percentages

R + G + B = 18 + 12 + 33 = 63 (100%)
R 18 of 63 ~ 28.57%
G 12 of 63 ~ 19.05%
B 33 of 63 ~ 52.38'%

%28.57
%19.05
%52.38

CMYK color model

#120C21 color CMYK value is (45,64,0,87).

  • cyan value is 45.45%
  • magenta value is 63.64%
  • yellow value is 0.00%
  • key color value is 87.06%

CMYK: (45,64,0,87)
C45M64Y0K87 (45%, 64%, 0%, 87%)
(0.45 / 0.64 / 0.00 / 0.87)

CMYK percentages

%45.45
%63.64
%0
%87.06

Codes

Color #120C21 in popluar color models

12 0C 21
RGB 18 12 33
HSL 257° 46.67% 8.82%
HSB/HSV 257° 63.64% 12.94%
CMYK 45.45% 63.64% 0.00%
87.06%

Color #120C21 in popluar number systems.

HEX 12 0C 21
Decimal 18 12 33
Binary 10010 1100 100001
Octal 22 14 41

Shades and tints

Shades of #120C21

#120C21
(18,12,33)
#110B1E
(17,11,30)
#100A1B
(16,10,27)
#0F0918
(15,9,24)
#0E0815
(14,8,21)
#0D0712
(13,7,18)
#0C060F
(12,6,15)
#0B050C
(11,5,12)
#0A0409
(10,4,9)
#090306
(9,3,6)
#080203
(8,2,3)
#000000
(0,0,0)

Tints of #120C21

#120C21
(18,12,33)
#272235
(39,34,53)
#3C3849
(60,56,73)
#514E5D
(81,78,93)
#666471
(102,100,113)
#7B7A85
(123,122,133)
#909099
(144,144,153)
#A5A6AD
(165,166,173)
#BABCC1
(186,188,193)
#CFD2D5
(207,210,213)
#E4E8E9
(228,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120C21; }

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

This text font color is #120C21.

Background Color

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

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

This div background color is #120C21.

Border color

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

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

This div border color is #120C21.

Opacity

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

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

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

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

This text has shadow with #120C21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #120C21.

Preview

Color preview on black background

This text has color #120C21 on black background.


Color preview on white background

This text has color #120C21 on white background.


Black color preview on #120C21 background

This text has black color on #120C21 background.


White color preview on #120C21 background

This text has white color on #120C21 background.


Related colors

Complementary color

Complementary color for #hex is #EDF3DE.


I love getcolorcode.com

Triadic colors

1 #21120C and #0C2112 with #120C21 are triadic colors.

2 #210C12 and #0C1221 with #120C21 are triadic colors.