HEX: #121821
RGB: (18,24,33)
#121821 contains red, green and blue colors in about the same proportion. Web safe color of #121821 is #000033 (or #003).
#121821 color RGB value is (18,24,33).
RGB: (18,24,33)
(7%, 9%, 13%)
R 18 of 255 = 7%
G 24 of 255 = 9%
B 33 of 255 = 13%
R + G + B ~ 10%. #121821 is dark color.
R + G + B = 18 + 24 + 33 = 75 (100%)
R 18 of 75 ~ 24%
G 24 of 75 ~ 32%
B 33 of 75 ~ 44'%
#121821 color CMYK value is (45,27,0,87).
CMYK: (45,27,0,87) C45M27Y0K87 (45%,27%,0%,87%) (0.45/0.27/0.00/0.87)
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 of #121821
Tints of #121821
Examples of css and html codes for elements with #121821 color. Also use rgb(18,24,33) instead hex code.
.myTextColor { color: #121821; }
<p style="color:#121821">This sample text font color is #121821.</p>
This text font color is #121821.
.myBgColor { background-color: #121821; }
<div style="background-color:#121821">Inner text</div>
This div background color is #121821.
.myBorderColor { border: 1px solid #121821; }
<div style="border:3px solid #121821">Div</div>
This div border color is #121821.
.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%.
.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.
/* 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 text has color #121821 on black background.
This text has color #121821 on white background.
This text has black color on #121821 background.
This text has white color on #121821 background.
Complementary color for #hex is #EDE7DE.