HEX: #476981
RGB: (71,105,129)
#476981 contains red, green and blue colors in about the same proportion. Web safe color of #476981 is #336699 (or #369).
#476981 color RGB value is (71,105,129).
RGB: (71,105,129) (28%,41%,51%)
R 71 of 255 = 28%
G 105 of 255 = 41%
B 129 of 255 = 51%
R + G + B ~ 40%. #476981 is middle color (not dark and not light).
R + G + B =
71 + 105 + 129 = 305 (100%)
R 71 of 305 ~ 23.28%
G 105 of 305 ~ 34.43%
B 129 of 305 ~ 42.3%
#476981 color CMYK value is (45,19,0,49).
CMYK: (45,19,0,49) C45M19Y0K49 (45%,19%,0%,49%) (0.45/0.19/0.00/0.49)
47 | 69 | 81 | |
---|---|---|---|
RGB | 71 | 105 | 129 |
HSL | 205° | 29.00% | 39.22% |
HSB/HSV | 205° | 44.96% | 50.59% |
CMYK | 44.96% | 18.60% | 0.00% |
49.41% |
HEX | 47 | 69 | 81 |
Decimal | 71 | 105 | 129 |
Binary | 1000111 | 1101001 | 10000001 |
Octal | 107 | 151 | 201 |
Examples of css and html codes for elements with #476981 color. Also use rgb(71,105,129) instead hex code.
.myTextColor { color: #476981; }
<p style="color:#476981">This sample text font color is #476981.</p>
This text font color is #476981.
.myBgColor { background-color: #476981; }
<div style="background-color:#476981">Inner text</div>
This div background color is #476981.
.myBorderColor { border: 1px solid #476981; }
<div style="border:3px solid #476981">Div</div>
This div border color is #476981.
.myOpacity80 { color: #476981; opacity: 0.8; }
<p style="color:#476981;opacity:0.8;">80%</p>
Text with #476981 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476981;}
<p style="text-shadow: 3px 3px 1px #476981">Text here.</p>
This text has shadow with #476981 color.
.textShadow {text-shadow: 3px 3px 1px #476981, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476981, 5px 5px 20px red">Text here.</p>
This text has shadow with #476981 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476981, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476981, Direction=45, Strength=4)">Text</p>
This text has shadow with #476981 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #476981; -webkit-box-shadow: 1px 1px 3px 2px #476981; box-shadow: 1px 1px 3px 2px #476981; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #476981; -webkit-box-shadow: 1px 1px 3px 2px #476981; box-shadow:1px 1px 3px 2px #476981;">
Div content here</div>
This text has color #476981 on black background.
This text has color #476981 on white background.
This text has black color on #476981 background.
This text has white color on #476981 background.