HEX: #304D77
RGB: (48,77,119)
#304D77 contains mainly green and blue colors. Web safe color of #304D77 is #333366 (or #336).
#304D77 color RGB value is (48,77,119).
RGB: (48,77,119) (19%,30%,47%)
R 48 of 255 = 19%
G 77 of 255 = 30%
B 119 of 255 = 47%
R + G + B ~ 32%. #304D77 is quite dark color.
R + G + B =
48 + 77 + 119 = 244 (100%)
R 48 of 244 ~ 19.67%
G 77 of 244 ~ 31.56%
B 119 of 244 ~ 48.77%
#304D77 color CMYK value is (60,35,0,53).
CMYK: (60,35,0,53) C60M35Y0K53 (60%,35%,0%,53%) (0.60/0.35/0.00/0.53)
30 | 4D | 77 | |
---|---|---|---|
RGB | 48 | 77 | 119 |
HSL | 215° | 42.51% | 32.75% |
HSB/HSV | 215° | 59.66% | 46.67% |
CMYK | 59.66% | 35.29% | 0.00% |
53.33% |
HEX | 30 | 4D | 77 |
Decimal | 48 | 77 | 119 |
Binary | 110000 | 1001101 | 1110111 |
Octal | 60 | 115 | 167 |
Examples of css and html codes for elements with #304D77 color. Also use rgb(48,77,119) instead hex code.
.myTextColor { color: #304D77; }
<p style="color:#304D77">This sample text font color is #304D77.</p>
This text font color is #304D77.
.myBgColor { background-color: #304D77; }
<div style="background-color:#304D77">Inner text</div>
This div background color is #304D77.
.myBorderColor { border: 1px solid #304D77; }
<div style="border:3px solid #304D77">Div</div>
This div border color is #304D77.
.myOpacity80 { color: #304D77; opacity: 0.8; }
<p style="color:#304D77;opacity:0.8;">80%</p>
Text with #304D77 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #304D77;}
<p style="text-shadow: 3px 3px 1px #304D77">Text here.</p>
This text has shadow with #304D77 color.
.textShadow {text-shadow: 3px 3px 1px #304D77, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #304D77, 5px 5px 20px red">Text here.</p>
This text has shadow with #304D77 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#304D77, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#304D77, Direction=45, Strength=4)">Text</p>
This text has shadow with #304D77 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #304D77; -webkit-box-shadow: 1px 1px 3px 2px #304D77; box-shadow: 1px 1px 3px 2px #304D77; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #304D77; -webkit-box-shadow: 1px 1px 3px 2px #304D77; box-shadow:1px 1px 3px 2px #304D77;">
Div content here</div>
This text has color #304D77 on black background.
This text has color #304D77 on white background.
This text has black color on #304D77 background.
This text has white color on #304D77 background.