COLOR #AFA456

HEX: #AFA456
RGB: (175,164,86)

Color info

#AFA456 contains mainly red and green colors. Web safe color of #AFA456 is #999966 (or #996).

RGB color model

#AFA456 color RGB value is (175,164,86).

  • red value is 175;
  • green value is 164;
  • blue value is 86.
RGB:
(175,164,86)
(69%,64%,34%)

RGB channels and saturation

R 175 of 255 = 69%
G 164 of 255 = 64%
B 86 of 255 = 34%

175
164
86

R + G + B ~ 56%. #AFA456 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
175 + 164 + 86 = 425 (100%)
R 175 of 425 ~ 41.18%
G 164 of 425 ~ 38.59%
B 86 of 425 ~ 20.24%

%41.18
%38.59
%20.24

CMYK color model

#AFA456 color CMYK value is (0,6,51,31).

  • cyan value is 0.00%
  • magenta value is 6.29%
  • yellow value is 50.86%
  • key color value is 31.37%
CMYK:
(0,6,51,31)
C0M6Y51K31 
(0%,6%,51%,31%)
(0.00/0.06/0.51/0.31)	

CMYK percentages

%0
%6.29
%50.86
%31.37

Codes

Color #AFA456 in popluar color models

AFA456
RGB17516486
HSL53°35.74%51.18%
HSB/HSV53°50.86%68.63%
CMYK0.00%6.29%50.86%
31.37%

Color #AFA456 in popluar number systems.

HEXAFA456
Decimal17516486
Binary10101111101001001010110
Octal257244126

Shades and tints

Shades of #AFA456

#AFA456
(175,164,86)
#A0964F
(160,150,79)
#918848
(145,136,72)
#827A41
(130,122,65)
#736C3A
(115,108,58)
#645E33
(100,94,51)
#55502C
(85,80,44)
#464225
(70,66,37)
#37341E
(55,52,30)
#282617
(40,38,23)
#191810
(25,24,16)
#000000
(0,0,0)

Tints of #AFA456

#AFA456
(175,164,86)
#B6AC65
(182,172,101)
#BDB474
(189,180,116)
#C4BC83
(196,188,131)
#CBC492
(203,196,146)
#D2CCA1
(210,204,161)
#D9D4B0
(217,212,176)
#E0DCBF
(224,220,191)
#E7E4CE
(231,228,206)
#EEECDD
(238,236,221)
#F5F4EC
(245,244,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA456 color. Also use rgb(175,164,86) instead hex code.

Text Font Color

.myTextColor { color: #AFA456; }

<p style="color:#AFA456">This sample text font color is #AFA456.</p>

This text font color is #AFA456.


Background Color

.myBgColor { background-color: #AFA456; }

<div style="background-color:#AFA456">Inner text</div>

This div background color is #AFA456.


Border color

.myBorderColor { border: 1px solid #AFA456; }

<div style="border:3px solid #AFA456">Div</div>

This div border color is #AFA456.


Opacity

.myOpacity80 { color: #AFA456; opacity: 0.8; }

<p style="color:#AFA456;opacity:0.8;">80%</p>

Text with #AFA456 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #AFA456;}

<p style="text-shadow: 3px 3px 1px #AFA456">Text here.</p>

This text has shadow with #AFA456 color.

.textShadow {text-shadow: 3px 3px 1px #AFA456, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #AFA456, 5px 5px 20px red">Text here.</p>

This text has shadow with #AFA456 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA456, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#AFA456, Direction=45, Strength=4)">Text</p>

This text has shadow with #AFA456 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #AFA456;
  -webkit-box-shadow:	1px 1px 3px 2px #AFA456;
  box-shadow:		1px 1px 3px 2px #AFA456;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #AFA456;
-webkit-box-shadow: 1px 1px 3px 2px #AFA456;
box-shadow:1px 1px 3px 2px #AFA456;">
Div content here</div>
This div box has shadow with color #AFA456.

Preview

Color preview on black background

This text has color #AFA456 on black background.


Color preview on white background

This text has color #AFA456 on white background.



Black color preview on #AFA456 background

This text has black color on #AFA456 background.


White color preview on #AFA456 background

This text has white color on #AFA456 background.