HEX: #30506F
RGB: (48,80,111)
#30506F contains mainly green and blue colors. Web safe color of #30506F is #336666 (or #366).
#30506F color RGB value is (48,80,111).
RGB: (48,80,111) (19%,31%,44%)
R 48 of 255 = 19%
G 80 of 255 = 31%
B 111 of 255 = 44%
R + G + B ~ 31%. #30506F is quite dark color.
R + G + B =
48 + 80 + 111 = 239 (100%)
R 48 of 239 ~ 20.08%
G 80 of 239 ~ 33.47%
B 111 of 239 ~ 46.44%
#30506F color CMYK value is (57,28,0,56).
CMYK: (57,28,0,56) C57M28Y0K56 (57%,28%,0%,56%) (0.57/0.28/0.00/0.56)
30 | 50 | 6F | |
---|---|---|---|
RGB | 48 | 80 | 111 |
HSL | 210° | 39.62% | 31.18% |
HSB/HSV | 210° | 56.76% | 43.53% |
CMYK | 56.76% | 27.93% | 0.00% |
56.47% |
HEX | 30 | 50 | 6F |
Decimal | 48 | 80 | 111 |
Binary | 110000 | 1010000 | 1101111 |
Octal | 60 | 120 | 157 |
Examples of css and html codes for elements with #30506F color. Also use rgb(48,80,111) instead hex code.
.myTextColor { color: #30506F; }
<p style="color:#30506F">This sample text font color is #30506F.</p>
This text font color is #30506F.
.myBgColor { background-color: #30506F; }
<div style="background-color:#30506F">Inner text</div>
This div background color is #30506F.
.myBorderColor { border: 1px solid #30506F; }
<div style="border:3px solid #30506F">Div</div>
This div border color is #30506F.
.myOpacity80 { color: #30506F; opacity: 0.8; }
<p style="color:#30506F;opacity:0.8;">80%</p>
Text with #30506F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #30506F;}
<p style="text-shadow: 3px 3px 1px #30506F">Text here.</p>
This text has shadow with #30506F color.
.textShadow {text-shadow: 3px 3px 1px #30506F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #30506F, 5px 5px 20px red">Text here.</p>
This text has shadow with #30506F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#30506F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#30506F, Direction=45, Strength=4)">Text</p>
This text has shadow with #30506F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #30506F; -webkit-box-shadow: 1px 1px 3px 2px #30506F; box-shadow: 1px 1px 3px 2px #30506F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #30506F; -webkit-box-shadow: 1px 1px 3px 2px #30506F; box-shadow:1px 1px 3px 2px #30506F;">
Div content here</div>
This text has color #30506F on black background.
This text has color #30506F on white background.
This text has black color on #30506F background.
This text has white color on #30506F background.