HEX: #7976AF
RGB: (121,118,175)
#7976AF contains red, green and blue colors in about the same proportion. Web safe color of #7976AF is #666699 (or #669).
#7976AF color RGB value is (121,118,175).
RGB: (121,118,175) (47%,46%,69%)
R 121 of 255 = 47%
G 118 of 255 = 46%
B 175 of 255 = 69%
R + G + B ~ 54%. #7976AF is middle color (not dark and not light).
R + G + B =
121 + 118 + 175 = 414 (100%)
R 121 of 414 ~ 29.23%
G 118 of 414 ~ 28.5%
B 175 of 414 ~ 42.27%
#7976AF color CMYK value is (31,33,0,31).
CMYK: (31,33,0,31) C31M33Y0K31 (31%,33%,0%,31%) (0.31/0.33/0.00/0.31)
79 | 76 | AF | |
---|---|---|---|
RGB | 121 | 118 | 175 |
HSL | 243° | 26.27% | 57.45% |
HSB/HSV | 243° | 32.57% | 68.63% |
CMYK | 30.86% | 32.57% | 0.00% |
31.37% |
HEX | 79 | 76 | AF |
Decimal | 121 | 118 | 175 |
Binary | 1111001 | 1110110 | 10101111 |
Octal | 171 | 166 | 257 |
Examples of css and html codes for elements with #7976AF color. Also use rgb(121,118,175) instead hex code.
.myTextColor { color: #7976AF; }
<p style="color:#7976AF">This sample text font color is #7976AF.</p>
This text font color is #7976AF.
.myBgColor { background-color: #7976AF; }
<div style="background-color:#7976AF">Inner text</div>
This div background color is #7976AF.
.myBorderColor { border: 1px solid #7976AF; }
<div style="border:3px solid #7976AF">Div</div>
This div border color is #7976AF.
.myOpacity80 { color: #7976AF; opacity: 0.8; }
<p style="color:#7976AF;opacity:0.8;">80%</p>
Text with #7976AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7976AF;}
<p style="text-shadow: 3px 3px 1px #7976AF">Text here.</p>
This text has shadow with #7976AF color.
.textShadow {text-shadow: 3px 3px 1px #7976AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7976AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #7976AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7976AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7976AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #7976AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7976AF; -webkit-box-shadow: 1px 1px 3px 2px #7976AF; box-shadow: 1px 1px 3px 2px #7976AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7976AF; -webkit-box-shadow: 1px 1px 3px 2px #7976AF; box-shadow:1px 1px 3px 2px #7976AF;">
Div content here</div>
This text has color #7976AF on black background.
This text has color #7976AF on white background.
This text has black color on #7976AF background.
This text has white color on #7976AF background.