COLOR #AFA87B

HEX: #AFA87B RGB: (175,168,123)

Color info

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

RGB color model

#AFA87B color RGB value is (175,168,123).

RGB: (175,168,123) (69%, 66%, 48%)

RGB channels and saturation

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

175
168
123

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

Portions of RGB colors in percentages

R + G + B = 175 + 168 + 123 = 466 (100%)
R 175 of 466 ~ 37.55%
G 168 of 466 ~ 36.05%
B 123 of 466 ~ 26.39'%

%37.55
%36.05
%26.39

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 4.00%
  • yellow value is 29.71%
  • 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
%29.71
%31.37

Codes

Color #AFA87B in popluar color models

AF A8 7B
RGB 175 168 123
HSL 52° 24.53% 58.43%
HSB/HSV 52° 29.71% 68.63%
CMYK 0.00% 4.00% 29.71%
31.37%

Color #AFA87B in popluar number systems.

HEX AF A8 7B
Decimal 175 168 123
Binary 10101111 10101000 1111011
Octal 257 250 173

Shades and tints

Shades of #AFA87B

#AFA87B
(175,168,123)
#A09970
(160,153,112)
#918A65
(145,138,101)
#827B5A
(130,123,90)
#736C4F
(115,108,79)
#645D44
(100,93,68)
#554E39
(85,78,57)
#463F2E
(70,63,46)
#373023
(55,48,35)
#282118
(40,33,24)
#19120D
(25,18,13)
#000000
(0,0,0)

Tints of #AFA87B

#AFA87B
(175,168,123)
#B6AF87
(182,175,135)
#BDB693
(189,182,147)
#C4BD9F
(196,189,159)
#CBC4AB
(203,196,171)
#D2CBB7
(210,203,183)
#D9D2C3
(217,210,195)
#E0D9CF
(224,217,207)
#E7E0DB
(231,224,219)
#EEE7E7
(238,231,231)
#F5EEF3
(245,238,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA87B; }

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

This text font color is #AFA87B.

Background Color

.myBgColor { background-color: #AFA87B; }

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

This div background color is #AFA87B.

Border color

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

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

This div border color is #AFA87B.

Opacity

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

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

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

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

This text has shadow with #AFA87B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AFA87B.

Preview

Color preview on black background

This text has color #AFA87B on black background.


Color preview on white background

This text has color #AFA87B on white background.


Black color preview on #AFA87B background

This text has black color on #AFA87B background.


White color preview on #AFA87B background

This text has white color on #AFA87B background.


Related colors

Complementary color

Complementary color for #hex is #505784.


I love getcolorcode.com

Triadic colors

1 #7BAFA8 and #A87BAF with #AFA87B are triadic colors.

2 #7BA8AF and #A8AF7B with #AFA87B are triadic colors.