HEX: #211821
RGB: (33,24,33)
#211821 contains red, green and blue colors in about the same proportion. Web safe color of #211821 is #330033 (or #303).
#211821 color RGB value is (33,24,33).
RGB: (33,24,33) (13%,9%,13%)
R 33 of 255 = 13%
G 24 of 255 = 9%
B 33 of 255 = 13%
R + G + B ~ 12%. #211821 is dark color.
R + G + B =
33 + 24 + 33 = 90 (100%)
R 33 of 90 ~ 36.67%
G 24 of 90 ~ 26.67%
B 33 of 90 ~ 36.67%
#211821 color CMYK value is (0,27,0,87).
CMYK: (0,27,0,87) C0M27Y0K87 (0%,27%,0%,87%) (0.00/0.27/0.00/0.87)
21 | 18 | 21 | |
---|---|---|---|
RGB | 33 | 24 | 33 |
HSL | 300° | 15.79% | 11.18% |
HSB/HSV | 300° | 27.27% | 12.94% |
CMYK | 0.00% | 27.27% | 0.00% |
87.06% |
HEX | 21 | 18 | 21 |
Decimal | 33 | 24 | 33 |
Binary | 100001 | 11000 | 100001 |
Octal | 41 | 30 | 41 |
Examples of css and html codes for elements with #211821 color. Also use rgb(33,24,33) instead hex code.
.myTextColor { color: #211821; }
<p style="color:#211821">This sample text font color is #211821.</p>
This text font color is #211821.
.myBgColor { background-color: #211821; }
<div style="background-color:#211821">Inner text</div>
This div background color is #211821.
.myBorderColor { border: 1px solid #211821; }
<div style="border:3px solid #211821">Div</div>
This div border color is #211821.
.myOpacity80 { color: #211821; opacity: 0.8; }
<p style="color:#211821;opacity:0.8;">80%</p>
Text with #211821 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #211821;}
<p style="text-shadow: 3px 3px 1px #211821">Text here.</p>
This text has shadow with #211821 color.
.textShadow {text-shadow: 3px 3px 1px #211821, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #211821, 5px 5px 20px red">Text here.</p>
This text has shadow with #211821 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#211821, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#211821, Direction=45, Strength=4)">Text</p>
This text has shadow with #211821 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #211821; -webkit-box-shadow: 1px 1px 3px 2px #211821; box-shadow: 1px 1px 3px 2px #211821; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #211821; -webkit-box-shadow: 1px 1px 3px 2px #211821; box-shadow:1px 1px 3px 2px #211821;">
Div content here</div>
This text has color #211821 on black background.
This text has color #211821 on white background.
This text has black color on #211821 background.
This text has white color on #211821 background.