HEX: #AFBD7D
RGB: (175,189,125)
#AFBD7D contains mainly red and green colors. Web safe color of #AFBD7D is #99CC66 (or #9C6).
#AFBD7D color RGB value is (175,189,125).
RGB: (175,189,125) (69%,74%,49%)
R 175 of 255 = 69%
G 189 of 255 = 74%
B 125 of 255 = 49%
R + G + B ~ 64%. #AFBD7D is quite light color.
R + G + B =
175 + 189 + 125 = 489 (100%)
R 175 of 489 ~ 35.79%
G 189 of 489 ~ 38.65%
B 125 of 489 ~ 25.56%
#AFBD7D color CMYK value is (7,0,34,26).
CMYK: (7,0,34,26) C7M0Y34K26 (7%,0%,34%,26%) (0.07/0.00/0.34/0.26)
AF | BD | 7D | |
---|---|---|---|
RGB | 175 | 189 | 125 |
HSL | 73° | 32.65% | 61.57% |
HSB/HSV | 73° | 33.86% | 74.12% |
CMYK | 7.41% | 0.00% | 33.86% |
25.88% |
HEX | AF | BD | 7D |
Decimal | 175 | 189 | 125 |
Binary | 10101111 | 10111101 | 1111101 |
Octal | 257 | 275 | 175 |
Examples of css and html codes for elements with #AFBD7D color. Also use rgb(175,189,125) instead hex code.
.myTextColor { color: #AFBD7D; }
<p style="color:#AFBD7D">This sample text font color is #AFBD7D.</p>
This text font color is #AFBD7D.
.myBgColor { background-color: #AFBD7D; }
<div style="background-color:#AFBD7D">Inner text</div>
This div background color is #AFBD7D.
.myBorderColor { border: 1px solid #AFBD7D; }
<div style="border:3px solid #AFBD7D">Div</div>
This div border color is #AFBD7D.
.myOpacity80 { color: #AFBD7D; opacity: 0.8; }
<p style="color:#AFBD7D;opacity:0.8;">80%</p>
Text with #AFBD7D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFBD7D;}
<p style="text-shadow: 3px 3px 1px #AFBD7D">Text here.</p>
This text has shadow with #AFBD7D color.
.textShadow {text-shadow: 3px 3px 1px #AFBD7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFBD7D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFBD7D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFBD7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFBD7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFBD7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFBD7D; -webkit-box-shadow: 1px 1px 3px 2px #AFBD7D; box-shadow: 1px 1px 3px 2px #AFBD7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFBD7D; -webkit-box-shadow: 1px 1px 3px 2px #AFBD7D; box-shadow:1px 1px 3px 2px #AFBD7D;">
Div content here</div>
This text has color #AFBD7D on black background.
This text has color #AFBD7D on white background.
This text has black color on #AFBD7D background.
This text has white color on #AFBD7D background.