HEX: #7972AD
RGB: (121,114,173)
#7972AD contains red, green and blue colors in about the same proportion. Web safe color of #7972AD is #666699 (or #669).
#7972AD color RGB value is (121,114,173).
RGB: (121,114,173) (47%,45%,68%)
R 121 of 255 = 47%
G 114 of 255 = 45%
B 173 of 255 = 68%
R + G + B ~ 53%. #7972AD is middle color (not dark and not light).
R + G + B =
121 + 114 + 173 = 408 (100%)
R 121 of 408 ~ 29.66%
G 114 of 408 ~ 27.94%
B 173 of 408 ~ 42.4%
#7972AD color CMYK value is (30,34,0,32).
CMYK: (30,34,0,32) C30M34Y0K32 (30%,34%,0%,32%) (0.30/0.34/0.00/0.32)
79 | 72 | AD | |
---|---|---|---|
RGB | 121 | 114 | 173 |
HSL | 247° | 26.46% | 56.27% |
HSB/HSV | 247° | 34.10% | 67.84% |
CMYK | 30.06% | 34.10% | 0.00% |
32.16% |
HEX | 79 | 72 | AD |
Decimal | 121 | 114 | 173 |
Binary | 1111001 | 1110010 | 10101101 |
Octal | 171 | 162 | 255 |
Examples of css and html codes for elements with #7972AD color. Also use rgb(121,114,173) instead hex code.
.myTextColor { color: #7972AD; }
<p style="color:#7972AD">This sample text font color is #7972AD.</p>
This text font color is #7972AD.
.myBgColor { background-color: #7972AD; }
<div style="background-color:#7972AD">Inner text</div>
This div background color is #7972AD.
.myBorderColor { border: 1px solid #7972AD; }
<div style="border:3px solid #7972AD">Div</div>
This div border color is #7972AD.
.myOpacity80 { color: #7972AD; opacity: 0.8; }
<p style="color:#7972AD;opacity:0.8;">80%</p>
Text with #7972AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7972AD;}
<p style="text-shadow: 3px 3px 1px #7972AD">Text here.</p>
This text has shadow with #7972AD color.
.textShadow {text-shadow: 3px 3px 1px #7972AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7972AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #7972AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7972AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7972AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #7972AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7972AD; -webkit-box-shadow: 1px 1px 3px 2px #7972AD; box-shadow: 1px 1px 3px 2px #7972AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7972AD; -webkit-box-shadow: 1px 1px 3px 2px #7972AD; box-shadow:1px 1px 3px 2px #7972AD;">
Div content here</div>
This text has color #7972AD on black background.
This text has color #7972AD on white background.
This text has black color on #7972AD background.
This text has white color on #7972AD background.