HEX: #00300C
RGB: (0,48,12)
#00300C contains only green and blue colors. Web safe color of #00300C is #003300 (or #030).
#00300C color RGB value is (0,48,12).
RGB: (0,48,12) (0%,19%,5%)
R 0 of 255 = 0%
G 48 of 255 = 19%
B 12 of 255 = 5%
R + G + B ~ 8%. #00300C is dark color.
R + G + B =
0 + 48 + 12 = 60 (100%)
R 0 of 60 ~ 0%
G 48 of 60 ~ 80%
B 12 of 60 ~ 20%
#00300C color CMYK value is (100,0,75,81).
CMYK: (100,0,75,81) C100M0Y75K81 (100%,0%,75%,81%) (1.00/0.00/0.75/0.81)
00 | 30 | 0C | |
---|---|---|---|
RGB | 0 | 48 | 12 |
HSL | 135° | 100.00% | 9.41% |
HSB/HSV | 135° | 100.00% | 18.82% |
CMYK | 100.00% | 0.00% | 75.00% |
81.18% |
HEX | 00 | 30 | 0C |
Decimal | 0 | 48 | 12 |
Binary | 0 | 110000 | 1100 |
Octal | 0 | 60 | 14 |
Examples of css and html codes for elements with #00300C color. Also use rgb(0,48,12) instead hex code.
.myTextColor { color: #00300C; }
<p style="color:#00300C">This sample text font color is #00300C.</p>
This text font color is #00300C.
.myBgColor { background-color: #00300C; }
<div style="background-color:#00300C">Inner text</div>
This div background color is #00300C.
.myBorderColor { border: 1px solid #00300C; }
<div style="border:3px solid #00300C">Div</div>
This div border color is #00300C.
.myOpacity80 { color: #00300C; opacity: 0.8; }
<p style="color:#00300C;opacity:0.8;">80%</p>
Text with #00300C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #00300C;}
<p style="text-shadow: 3px 3px 1px #00300C">Text here.</p>
This text has shadow with #00300C color.
.textShadow {text-shadow: 3px 3px 1px #00300C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #00300C, 5px 5px 20px red">Text here.</p>
This text has shadow with #00300C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#00300C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#00300C, Direction=45, Strength=4)">Text</p>
This text has shadow with #00300C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #00300C; -webkit-box-shadow: 1px 1px 3px 2px #00300C; box-shadow: 1px 1px 3px 2px #00300C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #00300C; -webkit-box-shadow: 1px 1px 3px 2px #00300C; box-shadow:1px 1px 3px 2px #00300C;">
Div content here</div>
This text has color #00300C on black background.
This text has color #00300C on white background.
This text has black color on #00300C background.
This text has white color on #00300C background.