COLOR #222821

HEX: #222821 RGB: (34,40,33)

Color info

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

RGB color model

#222821 color RGB value is (34,40,33).

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

RGB channels and saturation

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

34
40
33

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

Portions of RGB colors in percentages

R + G + B = 34 + 40 + 33 = 107 (100%)
R 34 of 107 ~ 31.78%
G 40 of 107 ~ 37.38%
B 33 of 107 ~ 30.84'%

%31.78
%37.38
%30.84

CMYK color model

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

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

CMYK: (15,0,18,84)
C15M0Y18K84 (15%, 0%, 18%, 84%)
(0.15 / 0.00 / 0.18 / 0.84)

CMYK percentages

%15
%0
%17.5
%84.31

Codes

Color #222821 in popluar color models

22 28 21
RGB 34 40 33
HSL 111° 9.59% 14.31%
HSB/HSV 111° 17.50% 15.69%
CMYK 15.00% 0.00% 17.50%
84.31%

Color #222821 in popluar number systems.

HEX 22 28 21
Decimal 34 40 33
Binary 100010 101000 100001
Octal 42 50 41

Shades and tints

Shades of #222821

#222821
(34,40,33)
#1F251E
(31,37,30)
#1C221B
(28,34,27)
#191F18
(25,31,24)
#161C15
(22,28,21)
#131912
(19,25,18)
#10160F
(16,22,15)
#0D130C
(13,19,12)
#0A1009
(10,16,9)
#070D06
(7,13,6)
#040A03
(4,10,3)
#000000
(0,0,0)

Tints of #222821

#222821
(34,40,33)
#363B35
(54,59,53)
#4A4E49
(74,78,73)
#5E615D
(94,97,93)
#727471
(114,116,113)
#868785
(134,135,133)
#9A9A99
(154,154,153)
#AEADAD
(174,173,173)
#C2C0C1
(194,192,193)
#D6D3D5
(214,211,213)
#EAE6E9
(234,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #222821; }

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

This text font color is #222821.

Background Color

.myBgColor { background-color: #222821; }

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

This div background color is #222821.

Border color

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

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

This div border color is #222821.

Opacity

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

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

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

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

This text has shadow with #222821 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #222821.

Preview

Color preview on black background

This text has color #222821 on black background.


Color preview on white background

This text has color #222821 on white background.


Black color preview on #222821 background

This text has black color on #222821 background.


White color preview on #222821 background

This text has white color on #222821 background.


Related colors

Complementary color

Complementary color for #hex is #DDD7DE.


I love getcolorcode.com

Triadic colors

1 #212228 and #282122 with #222821 are triadic colors.

2 #212822 and #282221 with #222821 are triadic colors.