HEX: #304C5B
RGB: (48,76,91)
#304C5B contains red, green and blue colors in about the same proportion. Web safe color of #304C5B is #333366 (or #336).
#304C5B color RGB value is (48,76,91).
RGB: (48,76,91)
(19%, 30%, 36%)
R 48 of 255 = 19%
G 76 of 255 = 30%
B 91 of 255 = 36%
R + G + B ~ 28%. #304C5B is quite dark color.
R + G + B = 48 + 76 + 91 = 215 (100%)
R 48 of 215 ~ 22.33%
G 76 of 215 ~ 35.35%
B 91 of 215 ~ 42.33'%
#304C5B color CMYK value is (47,16,0,64).
CMYK: (47,16,0,64)
C47M16Y0K64 (47%, 16%, 0%, 64%)
(0.47 / 0.16 / 0.00 / 0.64)
Color #304C5B in popluar color models
30 | 4C | 5B | |
---|---|---|---|
RGB | 48 | 76 | 91 |
HSL | 201° | 30.94% | 27.25% |
HSB/HSV | 201° | 47.25% | 35.69% |
CMYK | 47.25% | 16.48% | 0.00% |
64.31% |
Color #304C5B in popluar number systems.
HEX | 30 | 4C | 5B |
Decimal | 48 | 76 | 91 |
Binary | 110000 | 1001100 | 1011011 |
Octal | 60 | 114 | 133 |
Shades of #304C5B
Tints of #304C5B
Examples of css and html codes for elements with #304C5B color. Also use rgb(48,76,91) instead hex code.
.myTextColor { color: #304C5B; }
<p style="color:#304C5B">This sample text font color is #304C5B.</p>
This text font color is #304C5B.
.myBgColor { background-color: #304C5B; }
<div style="background-color:#304C5B">Inner text</div>
This div background color is #304C5B.
.myBorderColor { border: 1px solid #304C5B; }
<div style="border:3px solid #304C5B">Div</div>
This div border color is #304C5B.
.myOpacity80 { color: #304C5B; opacity: 0.8; }
<p style="color:#304C5B;opacity:0.8;">80%</p>
Text with #304C5B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #304C5B;}
<p style="text-shadow: 3px 3px 1px #304C5B">Text here.</p>
This text has shadow with #304C5B color.
.textShadow {text-shadow: 3px 3px 1px #304C5B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #304C5B, 5px 5px 20px red">Text here.</p>
This text has shadow with #304C5B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#304C5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#304C5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #304C5B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #304C5B;
-webkit-box-shadow: 1px 1px 3px 2px #304C5B;
box-shadow: 1px 1px 3px 2px #304C5B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #304C5B; -webkit-box-shadow: 1px 1px 3px 2px #304C5B; box-shadow:1px 1px 3px 2px #304C5B;">
Div content here
</div>
This text has color #304C5B on black background.
This text has color #304C5B on white background.
This text has black color on #304C5B background.
This text has white color on #304C5B background.
Complementary color for #hex is #CFB3A4.