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