HEX: #AFBC72
RGB: (175,188,114)
#AFBC72 contains mainly red and green colors. Web safe color of #AFBC72 is #99CC66 (or #9C6).
#AFBC72 color RGB value is (175,188,114).
RGB: (175,188,114) (69%,74%,45%)
R 175 of 255 = 69%
G 188 of 255 = 74%
B 114 of 255 = 45%
R + G + B ~ 63%. #AFBC72 is quite light color.
R + G + B =
175 + 188 + 114 = 477 (100%)
R 175 of 477 ~ 36.69%
G 188 of 477 ~ 39.41%
B 114 of 477 ~ 23.9%
#AFBC72 color CMYK value is (7,0,39,26).
CMYK: (7,0,39,26) C7M0Y39K26 (7%,0%,39%,26%) (0.07/0.00/0.39/0.26)
AF | BC | 72 | |
---|---|---|---|
RGB | 175 | 188 | 114 |
HSL | 71° | 35.58% | 59.22% |
HSB/HSV | 71° | 39.36% | 73.73% |
CMYK | 6.91% | 0.00% | 39.36% |
26.27% |
HEX | AF | BC | 72 |
Decimal | 175 | 188 | 114 |
Binary | 10101111 | 10111100 | 1110010 |
Octal | 257 | 274 | 162 |
Examples of css and html codes for elements with #AFBC72 color. Also use rgb(175,188,114) instead hex code.
.myTextColor { color: #AFBC72; }
<p style="color:#AFBC72">This sample text font color is #AFBC72.</p>
This text font color is #AFBC72.
.myBgColor { background-color: #AFBC72; }
<div style="background-color:#AFBC72">Inner text</div>
This div background color is #AFBC72.
.myBorderColor { border: 1px solid #AFBC72; }
<div style="border:3px solid #AFBC72">Div</div>
This div border color is #AFBC72.
.myOpacity80 { color: #AFBC72; opacity: 0.8; }
<p style="color:#AFBC72;opacity:0.8;">80%</p>
Text with #AFBC72 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFBC72;}
<p style="text-shadow: 3px 3px 1px #AFBC72">Text here.</p>
This text has shadow with #AFBC72 color.
.textShadow {text-shadow: 3px 3px 1px #AFBC72, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFBC72, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFBC72 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFBC72, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFBC72, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFBC72 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFBC72; -webkit-box-shadow: 1px 1px 3px 2px #AFBC72; box-shadow: 1px 1px 3px 2px #AFBC72; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFBC72; -webkit-box-shadow: 1px 1px 3px 2px #AFBC72; box-shadow:1px 1px 3px 2px #AFBC72;">
Div content here</div>
This text has color #AFBC72 on black background.
This text has color #AFBC72 on white background.
This text has black color on #AFBC72 background.
This text has white color on #AFBC72 background.