HEX: #121918
RGB: (18,25,24)
#121918 contains red, green and blue colors in about the same proportion. Web safe color of #121918 is #000000 (or #000).
#121918 color RGB value is (18,25,24).
RGB: (18,25,24) (7%,10%,9%)
R 18 of 255 = 7%
G 25 of 255 = 10%
B 24 of 255 = 9%
R + G + B ~ 9%. #121918 is dark color.
R + G + B =
18 + 25 + 24 = 67 (100%)
R 18 of 67 ~ 26.87%
G 25 of 67 ~ 37.31%
B 24 of 67 ~ 35.82%
#121918 color CMYK value is (28,0,4,90).
CMYK: (28,0,4,90) C28M0Y4K90 (28%,0%,4%,90%) (0.28/0.00/0.04/0.90)
12 | 19 | 18 | |
---|---|---|---|
RGB | 18 | 25 | 24 |
HSL | 171° | 16.28% | 8.43% |
HSB/HSV | 171° | 28.00% | 9.80% |
CMYK | 28.00% | 0.00% | 4.00% |
90.20% |
HEX | 12 | 19 | 18 |
Decimal | 18 | 25 | 24 |
Binary | 10010 | 11001 | 11000 |
Octal | 22 | 31 | 30 |
Examples of css and html codes for elements with #121918 color. Also use rgb(18,25,24) instead hex code.
.myTextColor { color: #121918; }
<p style="color:#121918">This sample text font color is #121918.</p>
This text font color is #121918.
.myBgColor { background-color: #121918; }
<div style="background-color:#121918">Inner text</div>
This div background color is #121918.
.myBorderColor { border: 1px solid #121918; }
<div style="border:3px solid #121918">Div</div>
This div border color is #121918.
.myOpacity80 { color: #121918; opacity: 0.8; }
<p style="color:#121918;opacity:0.8;">80%</p>
Text with #121918 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #121918;}
<p style="text-shadow: 3px 3px 1px #121918">Text here.</p>
This text has shadow with #121918 color.
.textShadow {text-shadow: 3px 3px 1px #121918, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #121918, 5px 5px 20px red">Text here.</p>
This text has shadow with #121918 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#121918, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#121918, Direction=45, Strength=4)">Text</p>
This text has shadow with #121918 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #121918; -webkit-box-shadow: 1px 1px 3px 2px #121918; box-shadow: 1px 1px 3px 2px #121918; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #121918; -webkit-box-shadow: 1px 1px 3px 2px #121918; box-shadow:1px 1px 3px 2px #121918;">
Div content here</div>
This text has color #121918 on black background.
This text has color #121918 on white background.
This text has black color on #121918 background.
This text has white color on #121918 background.