HEX: #12001E
RGB: (18,0,30)
#12001E contains only red and blue colors. Web safe color of #12001E is #000033 (or #003).
#12001E color RGB value is (18,0,30).
RGB: (18,0,30) (7%,0%,12%)
R 18 of 255 = 7%
G 0 of 255 = 0%
B 30 of 255 = 12%
R + G + B ~ 6%. #12001E is dark color.
R + G + B =
18 + 0 + 30 = 48 (100%)
R 18 of 48 ~ 37.5%
G 0 of 48 ~ 0%
B 30 of 48 ~ 62.5%
#12001E color CMYK value is (40,100,0,88).
CMYK: (40,100,0,88) C40M100Y0K88 (40%,100%,0%,88%) (0.40/1.00/0.00/0.88)
12 | 00 | 1E | |
---|---|---|---|
RGB | 18 | 0 | 30 |
HSL | 276° | 100.00% | 5.88% |
HSB/HSV | 276° | 100.00% | 11.76% |
CMYK | 40.00% | 100.00% | 0.00% |
88.24% |
HEX | 12 | 00 | 1E |
Decimal | 18 | 0 | 30 |
Binary | 10010 | 0 | 11110 |
Octal | 22 | 0 | 36 |
Examples of css and html codes for elements with #12001E color. Also use rgb(18,0,30) instead hex code.
.myTextColor { color: #12001E; }
<p style="color:#12001E">This sample text font color is #12001E.</p>
This text font color is #12001E.
.myBgColor { background-color: #12001E; }
<div style="background-color:#12001E">Inner text</div>
This div background color is #12001E.
.myBorderColor { border: 1px solid #12001E; }
<div style="border:3px solid #12001E">Div</div>
This div border color is #12001E.
.myOpacity80 { color: #12001E; opacity: 0.8; }
<p style="color:#12001E;opacity:0.8;">80%</p>
Text with #12001E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #12001E;}
<p style="text-shadow: 3px 3px 1px #12001E">Text here.</p>
This text has shadow with #12001E color.
.textShadow {text-shadow: 3px 3px 1px #12001E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #12001E, 5px 5px 20px red">Text here.</p>
This text has shadow with #12001E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#12001E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#12001E, Direction=45, Strength=4)">Text</p>
This text has shadow with #12001E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #12001E; -webkit-box-shadow: 1px 1px 3px 2px #12001E; box-shadow: 1px 1px 3px 2px #12001E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #12001E; -webkit-box-shadow: 1px 1px 3px 2px #12001E; box-shadow:1px 1px 3px 2px #12001E;">
Div content here</div>
This text has color #12001E on black background.
This text has color #12001E on white background.
This text has black color on #12001E background.
This text has white color on #12001E background.