HEX: #AF97BE
RGB: (175,151,190)
#AF97BE contains red, green and blue colors in about the same proportion. Web safe color of #AF97BE is #9999CC (or #99C).
#AF97BE color RGB value is (175,151,190).
RGB: (175,151,190) (69%,59%,75%)
R 175 of 255 = 69%
G 151 of 255 = 59%
B 190 of 255 = 75%
R + G + B ~ 68%. #AF97BE is quite light color.
R + G + B =
175 + 151 + 190 = 516 (100%)
R 175 of 516 ~ 33.91%
G 151 of 516 ~ 29.26%
B 190 of 516 ~ 36.82%
#AF97BE color CMYK value is (8,21,0,25).
CMYK: (8,21,0,25) C8M21Y0K25 (8%,21%,0%,25%) (0.08/0.21/0.00/0.25)
AF | 97 | BE | |
---|---|---|---|
RGB | 175 | 151 | 190 |
HSL | 277° | 23.08% | 66.86% |
HSB/HSV | 277° | 20.53% | 74.51% |
CMYK | 7.89% | 20.53% | 0.00% |
25.49% |
HEX | AF | 97 | BE |
Decimal | 175 | 151 | 190 |
Binary | 10101111 | 10010111 | 10111110 |
Octal | 257 | 227 | 276 |
Examples of css and html codes for elements with #AF97BE color. Also use rgb(175,151,190) instead hex code.
.myTextColor { color: #AF97BE; }
<p style="color:#AF97BE">This sample text font color is #AF97BE.</p>
This text font color is #AF97BE.
.myBgColor { background-color: #AF97BE; }
<div style="background-color:#AF97BE">Inner text</div>
This div background color is #AF97BE.
.myBorderColor { border: 1px solid #AF97BE; }
<div style="border:3px solid #AF97BE">Div</div>
This div border color is #AF97BE.
.myOpacity80 { color: #AF97BE; opacity: 0.8; }
<p style="color:#AF97BE;opacity:0.8;">80%</p>
Text with #AF97BE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF97BE;}
<p style="text-shadow: 3px 3px 1px #AF97BE">Text here.</p>
This text has shadow with #AF97BE color.
.textShadow {text-shadow: 3px 3px 1px #AF97BE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF97BE, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF97BE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF97BE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF97BE, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF97BE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF97BE; -webkit-box-shadow: 1px 1px 3px 2px #AF97BE; box-shadow: 1px 1px 3px 2px #AF97BE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF97BE; -webkit-box-shadow: 1px 1px 3px 2px #AF97BE; box-shadow:1px 1px 3px 2px #AF97BE;">
Div content here</div>
This text has color #AF97BE on black background.
This text has color #AF97BE on white background.
This text has black color on #AF97BE background.
This text has white color on #AF97BE background.