HEX: #478766
RGB: (71,135,102)
#478766 contains mainly green and blue colors. Web safe color of #478766 is #339966 (or #396).
#478766 color RGB value is (71,135,102).
RGB: (71,135,102) (28%,53%,40%)
R 71 of 255 = 28%
G 135 of 255 = 53%
B 102 of 255 = 40%
R + G + B ~ 40%. #478766 is middle color (not dark and not light).
R + G + B =
71 + 135 + 102 = 308 (100%)
R 71 of 308 ~ 23.05%
G 135 of 308 ~ 43.83%
B 102 of 308 ~ 33.12%
#478766 color CMYK value is (47,0,24,47).
CMYK: (47,0,24,47) C47M0Y24K47 (47%,0%,24%,47%) (0.47/0.00/0.24/0.47)
47 | 87 | 66 | |
---|---|---|---|
RGB | 71 | 135 | 102 |
HSL | 149° | 31.07% | 40.39% |
HSB/HSV | 149° | 47.41% | 52.94% |
CMYK | 47.41% | 0.00% | 24.44% |
47.06% |
HEX | 47 | 87 | 66 |
Decimal | 71 | 135 | 102 |
Binary | 1000111 | 10000111 | 1100110 |
Octal | 107 | 207 | 146 |
Examples of css and html codes for elements with #478766 color. Also use rgb(71,135,102) instead hex code.
.myTextColor { color: #478766; }
<p style="color:#478766">This sample text font color is #478766.</p>
This text font color is #478766.
.myBgColor { background-color: #478766; }
<div style="background-color:#478766">Inner text</div>
This div background color is #478766.
.myBorderColor { border: 1px solid #478766; }
<div style="border:3px solid #478766">Div</div>
This div border color is #478766.
.myOpacity80 { color: #478766; opacity: 0.8; }
<p style="color:#478766;opacity:0.8;">80%</p>
Text with #478766 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478766;}
<p style="text-shadow: 3px 3px 1px #478766">Text here.</p>
This text has shadow with #478766 color.
.textShadow {text-shadow: 3px 3px 1px #478766, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478766, 5px 5px 20px red">Text here.</p>
This text has shadow with #478766 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478766, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478766, Direction=45, Strength=4)">Text</p>
This text has shadow with #478766 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #478766; -webkit-box-shadow: 1px 1px 3px 2px #478766; box-shadow: 1px 1px 3px 2px #478766; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #478766; -webkit-box-shadow: 1px 1px 3px 2px #478766; box-shadow:1px 1px 3px 2px #478766;">
Div content here</div>
This text has color #478766 on black background.
This text has color #478766 on white background.
This text has black color on #478766 background.
This text has white color on #478766 background.