HEX: #307889
RGB: (48,120,137)
#307889 contains mainly green and blue colors. Web safe color of #307889 is #336699 (or #369).
#307889 color RGB value is (48,120,137).
RGB: (48,120,137) (19%,47%,54%)
R 48 of 255 = 19%
G 120 of 255 = 47%
B 137 of 255 = 54%
R + G + B ~ 40%. #307889 is middle color (not dark and not light).
R + G + B =
48 + 120 + 137 = 305 (100%)
R 48 of 305 ~ 15.74%
G 120 of 305 ~ 39.34%
B 137 of 305 ~ 44.92%
#307889 color CMYK value is (65,12,0,46).
CMYK: (65,12,0,46) C65M12Y0K46 (65%,12%,0%,46%) (0.65/0.12/0.00/0.46)
30 | 78 | 89 | |
---|---|---|---|
RGB | 48 | 120 | 137 |
HSL | 191° | 48.11% | 36.27% |
HSB/HSV | 191° | 64.96% | 53.73% |
CMYK | 64.96% | 12.41% | 0.00% |
46.27% |
HEX | 30 | 78 | 89 |
Decimal | 48 | 120 | 137 |
Binary | 110000 | 1111000 | 10001001 |
Octal | 60 | 170 | 211 |
Examples of css and html codes for elements with #307889 color. Also use rgb(48,120,137) instead hex code.
.myTextColor { color: #307889; }
<p style="color:#307889">This sample text font color is #307889.</p>
This text font color is #307889.
.myBgColor { background-color: #307889; }
<div style="background-color:#307889">Inner text</div>
This div background color is #307889.
.myBorderColor { border: 1px solid #307889; }
<div style="border:3px solid #307889">Div</div>
This div border color is #307889.
.myOpacity80 { color: #307889; opacity: 0.8; }
<p style="color:#307889;opacity:0.8;">80%</p>
Text with #307889 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #307889;}
<p style="text-shadow: 3px 3px 1px #307889">Text here.</p>
This text has shadow with #307889 color.
.textShadow {text-shadow: 3px 3px 1px #307889, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #307889, 5px 5px 20px red">Text here.</p>
This text has shadow with #307889 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#307889, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#307889, Direction=45, Strength=4)">Text</p>
This text has shadow with #307889 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #307889; -webkit-box-shadow: 1px 1px 3px 2px #307889; box-shadow: 1px 1px 3px 2px #307889; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #307889; -webkit-box-shadow: 1px 1px 3px 2px #307889; box-shadow:1px 1px 3px 2px #307889;">
Div content here</div>
This text has color #307889 on black background.
This text has color #307889 on white background.
This text has black color on #307889 background.
This text has white color on #307889 background.