HEX: #30589F
RGB: (48,88,159)
#30589F contains mainly blue color. Web safe color of #30589F is #336699 (or #369).
#30589F color RGB value is (48,88,159).
RGB: (48,88,159) (19%,35%,62%)
R 48 of 255 = 19%
G 88 of 255 = 35%
B 159 of 255 = 62%
R + G + B ~ 39%. #30589F is quite dark color.
R + G + B =
48 + 88 + 159 = 295 (100%)
R 48 of 295 ~ 16.27%
G 88 of 295 ~ 29.83%
B 159 of 295 ~ 53.9%
#30589F color CMYK value is (70,45,0,38).
CMYK: (70,45,0,38) C70M45Y0K38 (70%,45%,0%,38%) (0.70/0.45/0.00/0.38)
30 | 58 | 9F | |
---|---|---|---|
RGB | 48 | 88 | 159 |
HSL | 218° | 53.62% | 40.59% |
HSB/HSV | 218° | 69.81% | 62.35% |
CMYK | 69.81% | 44.65% | 0.00% |
37.65% |
HEX | 30 | 58 | 9F |
Decimal | 48 | 88 | 159 |
Binary | 110000 | 1011000 | 10011111 |
Octal | 60 | 130 | 237 |
Examples of css and html codes for elements with #30589F color. Also use rgb(48,88,159) instead hex code.
.myTextColor { color: #30589F; }
<p style="color:#30589F">This sample text font color is #30589F.</p>
This text font color is #30589F.
.myBgColor { background-color: #30589F; }
<div style="background-color:#30589F">Inner text</div>
This div background color is #30589F.
.myBorderColor { border: 1px solid #30589F; }
<div style="border:3px solid #30589F">Div</div>
This div border color is #30589F.
.myOpacity80 { color: #30589F; opacity: 0.8; }
<p style="color:#30589F;opacity:0.8;">80%</p>
Text with #30589F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #30589F;}
<p style="text-shadow: 3px 3px 1px #30589F">Text here.</p>
This text has shadow with #30589F color.
.textShadow {text-shadow: 3px 3px 1px #30589F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #30589F, 5px 5px 20px red">Text here.</p>
This text has shadow with #30589F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#30589F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#30589F, Direction=45, Strength=4)">Text</p>
This text has shadow with #30589F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #30589F; -webkit-box-shadow: 1px 1px 3px 2px #30589F; box-shadow: 1px 1px 3px 2px #30589F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #30589F; -webkit-box-shadow: 1px 1px 3px 2px #30589F; box-shadow:1px 1px 3px 2px #30589F;">
Div content here</div>
This text has color #30589F on black background.
This text has color #30589F on white background.
This text has black color on #30589F background.
This text has white color on #30589F background.