HEX: #AF7F30
RGB: (175,127,48)
#AF7F30 contains mainly red and green colors. Web safe color of #AF7F30 is #996633 (or #963).
#AF7F30 color RGB value is (175,127,48).
RGB: (175,127,48) (69%,50%,19%)
R 175 of 255 = 69%
G 127 of 255 = 50%
B 48 of 255 = 19%
R + G + B ~ 46%. #AF7F30 is middle color (not dark and not light).
R + G + B =
175 + 127 + 48 = 350 (100%)
R 175 of 350 ~ 50%
G 127 of 350 ~ 36.29%
B 48 of 350 ~ 13.71%
#AF7F30 color CMYK value is (0,27,73,31).
CMYK: (0,27,73,31) C0M27Y73K31 (0%,27%,73%,31%) (0.00/0.27/0.73/0.31)
AF | 7F | 30 | |
---|---|---|---|
RGB | 175 | 127 | 48 |
HSL | 37° | 56.95% | 43.73% |
HSB/HSV | 37° | 72.57% | 68.63% |
CMYK | 0.00% | 27.43% | 72.57% |
31.37% |
HEX | AF | 7F | 30 |
Decimal | 175 | 127 | 48 |
Binary | 10101111 | 1111111 | 110000 |
Octal | 257 | 177 | 60 |
Examples of css and html codes for elements with #AF7F30 color. Also use rgb(175,127,48) instead hex code.
.myTextColor { color: #AF7F30; }
<p style="color:#AF7F30">This sample text font color is #AF7F30.</p>
This text font color is #AF7F30.
.myBgColor { background-color: #AF7F30; }
<div style="background-color:#AF7F30">Inner text</div>
This div background color is #AF7F30.
.myBorderColor { border: 1px solid #AF7F30; }
<div style="border:3px solid #AF7F30">Div</div>
This div border color is #AF7F30.
.myOpacity80 { color: #AF7F30; opacity: 0.8; }
<p style="color:#AF7F30;opacity:0.8;">80%</p>
Text with #AF7F30 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AF7F30;}
<p style="text-shadow: 3px 3px 1px #AF7F30">Text here.</p>
This text has shadow with #AF7F30 color.
.textShadow {text-shadow: 3px 3px 1px #AF7F30, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AF7F30, 5px 5px 20px red">Text here.</p>
This text has shadow with #AF7F30 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AF7F30, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AF7F30, Direction=45, Strength=4)">Text</p>
This text has shadow with #AF7F30 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AF7F30; -webkit-box-shadow: 1px 1px 3px 2px #AF7F30; box-shadow: 1px 1px 3px 2px #AF7F30; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AF7F30; -webkit-box-shadow: 1px 1px 3px 2px #AF7F30; box-shadow:1px 1px 3px 2px #AF7F30;">
Div content here</div>
This text has color #AF7F30 on black background.
This text has color #AF7F30 on white background.
This text has black color on #AF7F30 background.
This text has white color on #AF7F30 background.