COLOR #AFA796

HEX: #AFA796
RGB: (175,167,150)

Color info

#AFA796 contains red, green and blue colors in about the same proportion. Web safe color of #AFA796 is #999999 (or #999).

RGB color model

#AFA796 color RGB value is (175,167,150).

  • red value is 175;
  • green value is 167;
  • blue value is 150.
RGB:
(175,167,150)
(69%,65%,59%)

RGB channels and saturation

R 175 of 255 = 69%
G 167 of 255 = 65%
B 150 of 255 = 59%

175
167
150

R + G + B ~ 64%. #AFA796 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 167 + 150 = 492 (100%)
R 175 of 492 ~ 35.57%
G 167 of 492 ~ 33.94%
B 150 of 492 ~ 30.49%

%35.57
%33.94
%30.49

CMYK color model

#AFA796 color CMYK value is (0,5,14,31).

  • cyan value is 0.00%
  • magenta value is 4.57%
  • yellow value is 14.29%
  • key color value is 31.37%
CMYK:
(0,5,14,31)
C0M5Y14K31 
(0%,5%,14%,31%)
(0.00/0.05/0.14/0.31)	

CMYK percentages

%0
%4.57
%14.29
%31.37

Codes

Color #AFA796 in popluar color models

AFA796
RGB175167150
HSL41°13.51%63.73%
HSB/HSV41°14.29%68.63%
CMYK0.00%4.57%14.29%
31.37%

Color #AFA796 in popluar number systems.

HEXAFA796
Decimal175167150
Binary101011111010011110010110
Octal257247226

Shades and tints

Shades of #AFA796

#AFA796
(175,167,150)
#A09889
(160,152,137)
#91897C
(145,137,124)
#827A6F
(130,122,111)
#736B62
(115,107,98)
#645C55
(100,92,85)
#554D48
(85,77,72)
#463E3B
(70,62,59)
#372F2E
(55,47,46)
#282021
(40,32,33)
#191114
(25,17,20)
#000000
(0,0,0)

Tints of #AFA796

#AFA796
(175,167,150)
#B6AF9F
(182,175,159)
#BDB7A8
(189,183,168)
#C4BFB1
(196,191,177)
#CBC7BA
(203,199,186)
#D2CFC3
(210,207,195)
#D9D7CC
(217,215,204)
#E0DFD5
(224,223,213)
#E7E7DE
(231,231,222)
#EEEFE7
(238,239,231)
#F5F7F0
(245,247,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA796 color. Also use rgb(175,167,150) instead hex code.

Text Font Color

.myTextColor { color: #AFA796; }

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

This text font color is #AFA796.


Background Color

.myBgColor { background-color: #AFA796; }

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

This div background color is #AFA796.


Border color

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

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

This div border color is #AFA796.


Opacity

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

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

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

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

This text has shadow with #AFA796 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA796 on black background.


Color preview on white background

This text has color #AFA796 on white background.



Black color preview on #AFA796 background

This text has black color on #AFA796 background.


White color preview on #AFA796 background

This text has white color on #AFA796 background.