COLOR #21221E

HEX: #21221E
RGB: (33,34,30)

Color info

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

RGB color model

#21221E color RGB value is (33,34,30).

  • red value is 33;
  • green value is 34;
  • blue value is 30.
RGB:
(33,34,30)
(13%,13%,12%)

RGB channels and saturation

R 33 of 255 = 13%
G 34 of 255 = 13%
B 30 of 255 = 12%

33
34
30

R + G + B ~ 13%. #21221E is dark color.

Portions of RGB colors in percentages

R + G + B =
33 + 34 + 30 = 97 (100%)
R 33 of 97 ~ 34.02%
G 34 of 97 ~ 35.05%
B 30 of 97 ~ 30.93%

%34.02
%35.05
%30.93

CMYK color model

#21221E color CMYK value is (3,0,12,87).

  • cyan value is 2.94%
  • magenta value is 0.00%
  • yellow value is 11.76%
  • key color value is 86.67%
CMYK:
(3,0,12,87)
C3M0Y12K87 
(3%,0%,12%,87%)
(0.03/0.00/0.12/0.87)	

CMYK percentages

%2.94
%0
%11.76
%86.67

Codes

Color #21221E in popluar color models

21221E
RGB333430
HSL75°6.25%12.55%
HSB/HSV75°11.76%13.33%
CMYK2.94%0.00%11.76%
86.67%

Color #21221E in popluar number systems.

HEX21221E
Decimal333430
Binary10000110001011110
Octal414236

Shades and tints

Shades of #21221E

#21221E
(33,34,30)
#1E1F1C
(30,31,28)
#1B1C1A
(27,28,26)
#181918
(24,25,24)
#151616
(21,22,22)
#121314
(18,19,20)
#0F1012
(15,16,18)
#0C0D10
(12,13,16)
#090A0E
(9,10,14)
#06070C
(6,7,12)
#03040A
(3,4,10)
#000000
(0,0,0)

Tints of #21221E

#21221E
(33,34,30)
#353632
(53,54,50)
#494A46
(73,74,70)
#5D5E5A
(93,94,90)
#71726E
(113,114,110)
#858682
(133,134,130)
#999A96
(153,154,150)
#ADAEAA
(173,174,170)
#C1C2BE
(193,194,190)
#D5D6D2
(213,214,210)
#E9EAE6
(233,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #21221E; }

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

This text font color is #21221E.


Background Color

.myBgColor { background-color: #21221E; }

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

This div background color is #21221E.


Border color

.myBorderColor { border: 1px solid #21221E; }

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

This div border color is #21221E.


Opacity

.myOpacity80 { color: #21221E; opacity: 0.8; }

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

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

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

This text has shadow with #21221E color.

.textShadow {text-shadow: 3px 3px 1px #21221E, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #21221E;
-webkit-box-shadow: 1px 1px 3px 2px #21221E;
box-shadow:1px 1px 3px 2px #21221E;">
Div content here</div>
This div box has shadow with color #21221E.

Preview

Color preview on black background

This text has color #21221E on black background.


Color preview on white background

This text has color #21221E on white background.



Black color preview on #21221E background

This text has black color on #21221E background.


White color preview on #21221E background

This text has white color on #21221E background.