HEX: #30477D
RGB: (48,71,125)
#30477D contains mainly green and blue colors. Web safe color of #30477D is #333366 (or #336).
#30477D color RGB value is (48,71,125).
RGB: (48,71,125) (19%,28%,49%)
R 48 of 255 = 19%
G 71 of 255 = 28%
B 125 of 255 = 49%
R + G + B ~ 32%. #30477D is quite dark color.
R + G + B =
48 + 71 + 125 = 244 (100%)
R 48 of 244 ~ 19.67%
G 71 of 244 ~ 29.1%
B 125 of 244 ~ 51.23%
#30477D color CMYK value is (62,43,0,51).
CMYK: (62,43,0,51) C62M43Y0K51 (62%,43%,0%,51%) (0.62/0.43/0.00/0.51)
30 | 47 | 7D | |
---|---|---|---|
RGB | 48 | 71 | 125 |
HSL | 222° | 44.51% | 33.92% |
HSB/HSV | 222° | 61.60% | 49.02% |
CMYK | 61.60% | 43.20% | 0.00% |
50.98% |
HEX | 30 | 47 | 7D |
Decimal | 48 | 71 | 125 |
Binary | 110000 | 1000111 | 1111101 |
Octal | 60 | 107 | 175 |
Examples of css and html codes for elements with #30477D color. Also use rgb(48,71,125) instead hex code.
.myTextColor { color: #30477D; }
<p style="color:#30477D">This sample text font color is #30477D.</p>
This text font color is #30477D.
.myBgColor { background-color: #30477D; }
<div style="background-color:#30477D">Inner text</div>
This div background color is #30477D.
.myBorderColor { border: 1px solid #30477D; }
<div style="border:3px solid #30477D">Div</div>
This div border color is #30477D.
.myOpacity80 { color: #30477D; opacity: 0.8; }
<p style="color:#30477D;opacity:0.8;">80%</p>
Text with #30477D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #30477D;}
<p style="text-shadow: 3px 3px 1px #30477D">Text here.</p>
This text has shadow with #30477D color.
.textShadow {text-shadow: 3px 3px 1px #30477D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #30477D, 5px 5px 20px red">Text here.</p>
This text has shadow with #30477D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#30477D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#30477D, Direction=45, Strength=4)">Text</p>
This text has shadow with #30477D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #30477D; -webkit-box-shadow: 1px 1px 3px 2px #30477D; box-shadow: 1px 1px 3px 2px #30477D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #30477D; -webkit-box-shadow: 1px 1px 3px 2px #30477D; box-shadow:1px 1px 3px 2px #30477D;">
Div content here</div>
This text has color #30477D on black background.
This text has color #30477D on white background.
This text has black color on #30477D background.
This text has white color on #30477D background.