COLOR #121821

HEX: #121821 RGB: (18,24,33)

Color info

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

RGB color model

#121821 color RGB value is (18,24,33).

RGB: (18,24,33) (7%, 9%, 13%)

RGB channels and saturation

R 18 of 255 = 7%
G 24 of 255 = 9%
B 33 of 255 = 13%

18
24
33

R + G + B ~ 10%. #121821 is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 24 + 33 = 75 (100%)
R 18 of 75 ~ 24%
G 24 of 75 ~ 32%
B 33 of 75 ~ 44'%

%24
%32
%44

CMYK color model

#121821 color CMYK value is (45,27,0,87).

  • cyan value is 45.45%
  • magenta value is 27.27%
  • yellow value is 0.00%
  • key color value is 87.06%
CMYK: (45,27,0,87) C45M27Y0K87 (45%,27%,0%,87%) (0.45/0.27/0.00/0.87) 

CMYK percentages

%45.45
%27.27
%0
%87.06

Codes

Color #121821 in popluar color models

12 18 21
RGB 18 24 33
HSL 216° 29.41% 10.00%
HSB/HSV 216° 45.45% 12.94%
CMYK 45.45% 27.27% 0.00%
87.06%

Color #121821 in popluar number systems.

HEX 12 18 21
Decimal 18 24 33
Binary 10010 11000 100001
Octal 22 30 41

Shades and tints

Shades of #121821

#121821
(18,24,33)
#11161E
(17,22,30)
#10141B
(16,20,27)
#0F1218
(15,18,24)
#0E1015
(14,16,21)
#0D0E12
(13,14,18)
#0C0C0F
(12,12,15)
#0B0A0C
(11,10,12)
#0A0809
(10,8,9)
#090606
(9,6,6)
#080403
(8,4,3)
#000000
(0,0,0)

Tints of #121821

#121821
(18,24,33)
#272D35
(39,45,53)
#3C4249
(60,66,73)
#51575D
(81,87,93)
#666C71
(102,108,113)
#7B8185
(123,129,133)
#909699
(144,150,153)
#A5ABAD
(165,171,173)
#BAC0C1
(186,192,193)
#CFD5D5
(207,213,213)
#E4EAE9
(228,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #121821; }

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

This text font color is #121821.

Background Color

.myBgColor { background-color: #121821; }

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

This div background color is #121821.

Border color

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

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

This div border color is #121821.

Opacity

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

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

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

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

This text has shadow with #121821 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #121821.

Preview

Color preview on black background

This text has color #121821 on black background.


Color preview on white background

This text has color #121821 on white background.


Black color preview on #121821 background

This text has black color on #121821 background.


White color preview on #121821 background

This text has white color on #121821 background.


Related colors

Complementary color

Complementary color for #hex is #EDE7DE.


I love getcolorcode.com

Triadic colors

1 #211218 and #182112 with #121821 are triadic colors.

2 #211812 and #181221 with #121821 are triadic colors.