COLOR #212821

HEX: #212821 RGB: (33,40,33)

Color info

#212821 contains red, green and blue colors in about the same proportion. Web safe color of #212821 is #333333 (or #333).

RGB color model

#212821 color RGB value is (33,40,33).

RGB: (33,40,33) (13%, 16%, 13%)

RGB channels and saturation

R 33 of 255 = 13%
G 40 of 255 = 16%
B 33 of 255 = 13%

33
40
33

R + G + B ~ 14%. #212821 is dark color.

Portions of RGB colors in percentages

R + G + B = 33 + 40 + 33 = 106 (100%)
R 33 of 106 ~ 31.13%
G 40 of 106 ~ 37.74%
B 33 of 106 ~ 31.13'%

%31.13
%37.74
%31.13

CMYK color model

#212821 color CMYK value is (18,0,18,84).

  • cyan value is 17.50%
  • magenta value is 0.00%
  • yellow value is 17.50%
  • key color value is 84.31%

CMYK: (18,0,18,84)
C18M0Y18K84 (18%, 0%, 18%, 84%)
(0.18 / 0.00 / 0.18 / 0.84)

CMYK percentages

%17.5
%0
%17.5
%84.31

Codes

Color #212821 in popluar color models

21 28 21
RGB 33 40 33
HSL 120° 9.59% 14.31%
HSB/HSV 120° 17.50% 15.69%
CMYK 17.50% 0.00% 17.50%
84.31%

Color #212821 in popluar number systems.

HEX 21 28 21
Decimal 33 40 33
Binary 100001 101000 100001
Octal 41 50 41

Shades and tints

Shades of #212821

#212821
(33,40,33)
#1E251E
(30,37,30)
#1B221B
(27,34,27)
#181F18
(24,31,24)
#151C15
(21,28,21)
#121912
(18,25,18)
#0F160F
(15,22,15)
#0C130C
(12,19,12)
#091009
(9,16,9)
#060D06
(6,13,6)
#030A03
(3,10,3)
#000000
(0,0,0)

Tints of #212821

#212821
(33,40,33)
#353B35
(53,59,53)
#494E49
(73,78,73)
#5D615D
(93,97,93)
#717471
(113,116,113)
#858785
(133,135,133)
#999A99
(153,154,153)
#ADADAD
(173,173,173)
#C1C0C1
(193,192,193)
#D5D3D5
(213,211,213)
#E9E6E9
(233,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #212821; }

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

This text font color is #212821.

Background Color

.myBgColor { background-color: #212821; }

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

This div background color is #212821.

Border color

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

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

This div border color is #212821.

Opacity

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

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

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

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

This text has shadow with #212821 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #212821.

Preview

Color preview on black background

This text has color #212821 on black background.


Color preview on white background

This text has color #212821 on white background.


Black color preview on #212821 background

This text has black color on #212821 background.


White color preview on #212821 background

This text has white color on #212821 background.


Related colors

Complementary color

Complementary color for #hex is #DED7DE.


I love getcolorcode.com

Triadic colors

1 #212128 and #282121 with #212821 are triadic colors.

2 #212821 and #282121 with #212821 are triadic colors.