COLOR #AFA87A

HEX: #AFA87A
RGB: (175,168,122)

Color info

#AFA87A contains red, green and blue colors in about the same proportion. Web safe color of #AFA87A is #999966 (or #996).

RGB color model

#AFA87A color RGB value is (175,168,122).

  • red value is 175;
  • green value is 168;
  • blue value is 122.
RGB:
(175,168,122)
(69%,66%,48%)

RGB channels and saturation

R 175 of 255 = 69%
G 168 of 255 = 66%
B 122 of 255 = 48%

175
168
122

R + G + B ~ 61%. #AFA87A is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 168 + 122 = 465 (100%)
R 175 of 465 ~ 37.63%
G 168 of 465 ~ 36.13%
B 122 of 465 ~ 26.24%

%37.63
%36.13
%26.24

CMYK color model

#AFA87A color CMYK value is (0,4,30,31).

  • cyan value is 0.00%
  • magenta value is 4.00%
  • yellow value is 30.29%
  • key color value is 31.37%
CMYK:
(0,4,30,31)
C0M4Y30K31 
(0%,4%,30%,31%)
(0.00/0.04/0.30/0.31)	

CMYK percentages

%0
%4
%30.29
%31.37

Codes

Color #AFA87A in popluar color models

AFA87A
RGB175168122
HSL52°24.88%58.24%
HSB/HSV52°30.29%68.63%
CMYK0.00%4.00%30.29%
31.37%

Color #AFA87A in popluar number systems.

HEXAFA87A
Decimal175168122
Binary10101111101010001111010
Octal257250172

Shades and tints

Shades of #AFA87A

#AFA87A
(175,168,122)
#A0996F
(160,153,111)
#918A64
(145,138,100)
#827B59
(130,123,89)
#736C4E
(115,108,78)
#645D43
(100,93,67)
#554E38
(85,78,56)
#463F2D
(70,63,45)
#373022
(55,48,34)
#282117
(40,33,23)
#19120C
(25,18,12)
#000000
(0,0,0)

Tints of #AFA87A

#AFA87A
(175,168,122)
#B6AF86
(182,175,134)
#BDB692
(189,182,146)
#C4BD9E
(196,189,158)
#CBC4AA
(203,196,170)
#D2CBB6
(210,203,182)
#D9D2C2
(217,210,194)
#E0D9CE
(224,217,206)
#E7E0DA
(231,224,218)
#EEE7E6
(238,231,230)
#F5EEF2
(245,238,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA87A color. Also use rgb(175,168,122) instead hex code.

Text Font Color

.myTextColor { color: #AFA87A; }

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

This text font color is #AFA87A.


Background Color

.myBgColor { background-color: #AFA87A; }

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

This div background color is #AFA87A.


Border color

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

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

This div border color is #AFA87A.


Opacity

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

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

Text with #AFA87A 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 #AFA87A;}

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

This text has shadow with #AFA87A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA87A on black background.


Color preview on white background

This text has color #AFA87A on white background.



Black color preview on #AFA87A background

This text has black color on #AFA87A background.


White color preview on #AFA87A background

This text has white color on #AFA87A background.