COLOR #AFA666

HEX: #AFA666
RGB: (175,166,102)

Color info

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

RGB color model

#AFA666 color RGB value is (175,166,102).

  • red value is 175;
  • green value is 166;
  • blue value is 102.
RGB:
(175,166,102)
(69%,65%,40%)

RGB channels and saturation

R 175 of 255 = 69%
G 166 of 255 = 65%
B 102 of 255 = 40%

175
166
102

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

Portions of RGB colors in percentages

R + G + B =
175 + 166 + 102 = 443 (100%)
R 175 of 443 ~ 39.5%
G 166 of 443 ~ 37.47%
B 102 of 443 ~ 23.02%

%39.5
%37.47
%23.02

CMYK color model

#AFA666 color CMYK value is (0,5,42,31).

  • cyan value is 0.00%
  • magenta value is 5.14%
  • yellow value is 41.71%
  • key color value is 31.37%
CMYK:
(0,5,42,31)
C0M5Y42K31 
(0%,5%,42%,31%)
(0.00/0.05/0.42/0.31)	

CMYK percentages

%0
%5.14
%41.71
%31.37

Codes

Color #AFA666 in popluar color models

AFA666
RGB175166102
HSL53°31.33%54.31%
HSB/HSV53°41.71%68.63%
CMYK0.00%5.14%41.71%
31.37%

Color #AFA666 in popluar number systems.

HEXAFA666
Decimal175166102
Binary10101111101001101100110
Octal257246146

Shades and tints

Shades of #AFA666

#AFA666
(175,166,102)
#A0975D
(160,151,93)
#918854
(145,136,84)
#82794B
(130,121,75)
#736A42
(115,106,66)
#645B39
(100,91,57)
#554C30
(85,76,48)
#463D27
(70,61,39)
#372E1E
(55,46,30)
#281F15
(40,31,21)
#19100C
(25,16,12)
#000000
(0,0,0)

Tints of #AFA666

#AFA666
(175,166,102)
#B6AE73
(182,174,115)
#BDB680
(189,182,128)
#C4BE8D
(196,190,141)
#CBC69A
(203,198,154)
#D2CEA7
(210,206,167)
#D9D6B4
(217,214,180)
#E0DEC1
(224,222,193)
#E7E6CE
(231,230,206)
#EEEEDB
(238,238,219)
#F5F6E8
(245,246,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA666 color. Also use rgb(175,166,102) instead hex code.

Text Font Color

.myTextColor { color: #AFA666; }

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

This text font color is #AFA666.


Background Color

.myBgColor { background-color: #AFA666; }

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

This div background color is #AFA666.


Border color

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

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

This div border color is #AFA666.


Opacity

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

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

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

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

This text has shadow with #AFA666 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA666 on black background.


Color preview on white background

This text has color #AFA666 on white background.



Black color preview on #AFA666 background

This text has black color on #AFA666 background.


White color preview on #AFA666 background

This text has white color on #AFA666 background.