HEX: #AFAB61
RGB: (175,171,97)
#AFAB61 contains mainly red and green colors. Web safe color of #AFAB61 is #999966 (or #996).
#AFAB61 color RGB value is (175,171,97).
RGB: (175,171,97) (69%,67%,38%)
R 175 of 255 = 69%
G 171 of 255 = 67%
B 97 of 255 = 38%
R + G + B ~ 58%. #AFAB61 is middle color (not dark and not light).
R + G + B =
175 + 171 + 97 = 443 (100%)
R 175 of 443 ~ 39.5%
G 171 of 443 ~ 38.6%
B 97 of 443 ~ 21.9%
#AFAB61 color CMYK value is (0,2,45,31).
CMYK: (0,2,45,31) C0M2Y45K31 (0%,2%,45%,31%) (0.00/0.02/0.45/0.31)
AF | AB | 61 | |
---|---|---|---|
RGB | 175 | 171 | 97 |
HSL | 57° | 32.77% | 53.33% |
HSB/HSV | 57° | 44.57% | 68.63% |
CMYK | 0.00% | 2.29% | 44.57% |
31.37% |
HEX | AF | AB | 61 |
Decimal | 175 | 171 | 97 |
Binary | 10101111 | 10101011 | 1100001 |
Octal | 257 | 253 | 141 |
Examples of css and html codes for elements with #AFAB61 color. Also use rgb(175,171,97) instead hex code.
.myTextColor { color: #AFAB61; }
<p style="color:#AFAB61">This sample text font color is #AFAB61.</p>
This text font color is #AFAB61.
.myBgColor { background-color: #AFAB61; }
<div style="background-color:#AFAB61">Inner text</div>
This div background color is #AFAB61.
.myBorderColor { border: 1px solid #AFAB61; }
<div style="border:3px solid #AFAB61">Div</div>
This div border color is #AFAB61.
.myOpacity80 { color: #AFAB61; opacity: 0.8; }
<p style="color:#AFAB61;opacity:0.8;">80%</p>
Text with #AFAB61 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFAB61;}
<p style="text-shadow: 3px 3px 1px #AFAB61">Text here.</p>
This text has shadow with #AFAB61 color.
.textShadow {text-shadow: 3px 3px 1px #AFAB61, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFAB61, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFAB61 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFAB61, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFAB61, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFAB61 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFAB61; -webkit-box-shadow: 1px 1px 3px 2px #AFAB61; box-shadow: 1px 1px 3px 2px #AFAB61; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFAB61; -webkit-box-shadow: 1px 1px 3px 2px #AFAB61; box-shadow:1px 1px 3px 2px #AFAB61;">
Div content here</div>
This text has color #AFAB61 on black background.
This text has color #AFAB61 on white background.
This text has black color on #AFAB61 background.
This text has white color on #AFAB61 background.