HEX: #488770
RGB: (72,135,112)
#488770 contains mainly green and blue colors. Web safe color of #488770 is #339966 (or #396).
#488770 color RGB value is (72,135,112).
RGB: (72,135,112) (28%,53%,44%)
R 72 of 255 = 28%
G 135 of 255 = 53%
B 112 of 255 = 44%
R + G + B ~ 42%. #488770 is middle color (not dark and not light).
R + G + B =
72 + 135 + 112 = 319 (100%)
R 72 of 319 ~ 22.57%
G 135 of 319 ~ 42.32%
B 112 of 319 ~ 35.11%
#488770 color CMYK value is (47,0,17,47).
CMYK: (47,0,17,47) C47M0Y17K47 (47%,0%,17%,47%) (0.47/0.00/0.17/0.47)
48 | 87 | 70 | |
---|---|---|---|
RGB | 72 | 135 | 112 |
HSL | 158° | 30.43% | 40.59% |
HSB/HSV | 158° | 46.67% | 52.94% |
CMYK | 46.67% | 0.00% | 17.04% |
47.06% |
HEX | 48 | 87 | 70 |
Decimal | 72 | 135 | 112 |
Binary | 1001000 | 10000111 | 1110000 |
Octal | 110 | 207 | 160 |
Examples of css and html codes for elements with #488770 color. Also use rgb(72,135,112) instead hex code.
.myTextColor { color: #488770; }
<p style="color:#488770">This sample text font color is #488770.</p>
This text font color is #488770.
.myBgColor { background-color: #488770; }
<div style="background-color:#488770">Inner text</div>
This div background color is #488770.
.myBorderColor { border: 1px solid #488770; }
<div style="border:3px solid #488770">Div</div>
This div border color is #488770.
.myOpacity80 { color: #488770; opacity: 0.8; }
<p style="color:#488770;opacity:0.8;">80%</p>
Text with #488770 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #488770;}
<p style="text-shadow: 3px 3px 1px #488770">Text here.</p>
This text has shadow with #488770 color.
.textShadow {text-shadow: 3px 3px 1px #488770, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #488770, 5px 5px 20px red">Text here.</p>
This text has shadow with #488770 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#488770, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#488770, Direction=45, Strength=4)">Text</p>
This text has shadow with #488770 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #488770; -webkit-box-shadow: 1px 1px 3px 2px #488770; box-shadow: 1px 1px 3px 2px #488770; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #488770; -webkit-box-shadow: 1px 1px 3px 2px #488770; box-shadow:1px 1px 3px 2px #488770;">
Div content here</div>
This text has color #488770 on black background.
This text has color #488770 on white background.
This text has black color on #488770 background.
This text has white color on #488770 background.