HEX: #9974CC
RGB: (153,116,204)
#9974CC contains mainly red and blue colors. Web safe color of #9974CC is #9966CC (or #96C).
#9974CC color RGB value is (153,116,204).
RGB: (153,116,204) (60%,45%,80%)
R 153 of 255 = 60%
G 116 of 255 = 45%
B 204 of 255 = 80%
R + G + B ~ 62%. #9974CC is quite light color.
R + G + B =
153 + 116 + 204 = 473 (100%)
R 153 of 473 ~ 32.35%
G 116 of 473 ~ 24.52%
B 204 of 473 ~ 43.13%
#9974CC color CMYK value is (25,43,0,20).
CMYK: (25,43,0,20) C25M43Y0K20 (25%,43%,0%,20%) (0.25/0.43/0.00/0.20)
99 | 74 | CC | |
---|---|---|---|
RGB | 153 | 116 | 204 |
HSL | 265° | 46.32% | 62.75% |
HSB/HSV | 265° | 43.14% | 80.00% |
CMYK | 25.00% | 43.14% | 0.00% |
20.00% |
HEX | 99 | 74 | CC |
Decimal | 153 | 116 | 204 |
Binary | 10011001 | 1110100 | 11001100 |
Octal | 231 | 164 | 314 |
Examples of css and html codes for elements with #9974CC color. Also use rgb(153,116,204) instead hex code.
.myTextColor { color: #9974CC; }
<p style="color:#9974CC">This sample text font color is #9974CC.</p>
This text font color is #9974CC.
.myBgColor { background-color: #9974CC; }
<div style="background-color:#9974CC">Inner text</div>
This div background color is #9974CC.
.myBorderColor { border: 1px solid #9974CC; }
<div style="border:3px solid #9974CC">Div</div>
This div border color is #9974CC.
.myOpacity80 { color: #9974CC; opacity: 0.8; }
<p style="color:#9974CC;opacity:0.8;">80%</p>
Text with #9974CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9974CC;}
<p style="text-shadow: 3px 3px 1px #9974CC">Text here.</p>
This text has shadow with #9974CC color.
.textShadow {text-shadow: 3px 3px 1px #9974CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9974CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #9974CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9974CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9974CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #9974CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9974CC; -webkit-box-shadow: 1px 1px 3px 2px #9974CC; box-shadow: 1px 1px 3px 2px #9974CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9974CC; -webkit-box-shadow: 1px 1px 3px 2px #9974CC; box-shadow:1px 1px 3px 2px #9974CC;">
Div content here</div>
This text has color #9974CC on black background.
This text has color #9974CC on white background.
This text has black color on #9974CC background.
This text has white color on #9974CC background.