HEX: #30504B
RGB: (48,80,75)
#30504B contains red, green and blue colors in about the same proportion. Web safe color of #30504B is #336633 (or #363).
#30504B color RGB value is (48,80,75).
RGB: (48,80,75) (19%,31%,29%)
R 48 of 255 = 19%
G 80 of 255 = 31%
B 75 of 255 = 29%
R + G + B ~ 26%. #30504B is quite dark color.
R + G + B =
48 + 80 + 75 = 203 (100%)
R 48 of 203 ~ 23.65%
G 80 of 203 ~ 39.41%
B 75 of 203 ~ 36.95%
#30504B color CMYK value is (40,0,6,69).
CMYK: (40,0,6,69) C40M0Y6K69 (40%,0%,6%,69%) (0.40/0.00/0.06/0.69)
30 | 50 | 4B | |
---|---|---|---|
RGB | 48 | 80 | 75 |
HSL | 171° | 25.00% | 25.10% |
HSB/HSV | 171° | 40.00% | 31.37% |
CMYK | 40.00% | 0.00% | 6.25% |
68.63% |
HEX | 30 | 50 | 4B |
Decimal | 48 | 80 | 75 |
Binary | 110000 | 1010000 | 1001011 |
Octal | 60 | 120 | 113 |
Examples of css and html codes for elements with #30504B color. Also use rgb(48,80,75) instead hex code.
.myTextColor { color: #30504B; }
<p style="color:#30504B">This sample text font color is #30504B.</p>
This text font color is #30504B.
.myBgColor { background-color: #30504B; }
<div style="background-color:#30504B">Inner text</div>
This div background color is #30504B.
.myBorderColor { border: 1px solid #30504B; }
<div style="border:3px solid #30504B">Div</div>
This div border color is #30504B.
.myOpacity80 { color: #30504B; opacity: 0.8; }
<p style="color:#30504B;opacity:0.8;">80%</p>
Text with #30504B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #30504B;}
<p style="text-shadow: 3px 3px 1px #30504B">Text here.</p>
This text has shadow with #30504B color.
.textShadow {text-shadow: 3px 3px 1px #30504B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #30504B, 5px 5px 20px red">Text here.</p>
This text has shadow with #30504B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#30504B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#30504B, Direction=45, Strength=4)">Text</p>
This text has shadow with #30504B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #30504B; -webkit-box-shadow: 1px 1px 3px 2px #30504B; box-shadow: 1px 1px 3px 2px #30504B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #30504B; -webkit-box-shadow: 1px 1px 3px 2px #30504B; box-shadow:1px 1px 3px 2px #30504B;">
Div content here</div>
This text has color #30504B on black background.
This text has color #30504B on white background.
This text has black color on #30504B background.
This text has white color on #30504B background.