COLOR #AFAF7F

HEX: #AFAF7F
RGB: (175,175,127)

Color info

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

RGB color model

#AFAF7F color RGB value is (175,175,127).

  • red value is 175;
  • green value is 175;
  • blue value is 127.
RGB:
(175,175,127)
(69%,69%,50%)

RGB channels and saturation

R 175 of 255 = 69%
G 175 of 255 = 69%
B 127 of 255 = 50%

175
175
127

R + G + B ~ 63%. #AFAF7F is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 175 + 127 = 477 (100%)
R 175 of 477 ~ 36.69%
G 175 of 477 ~ 36.69%
B 127 of 477 ~ 26.62%

%36.69
%36.69
%26.62

CMYK color model

#AFAF7F color CMYK value is (0,0,27,31).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 27.43%
  • key color value is 31.37%
CMYK:
(0,0,27,31)
C0M0Y27K31 
(0%,0%,27%,31%)
(0.00/0.00/0.27/0.31)	

CMYK percentages

%0
%0
%27.43
%31.37

Codes

Color #AFAF7F in popluar color models

AFAF7F
RGB175175127
HSL60°23.08%59.22%
HSB/HSV60°27.43%68.63%
CMYK0.00%0.00%27.43%
31.37%

Color #AFAF7F in popluar number systems.

HEXAFAF7F
Decimal175175127
Binary10101111101011111111111
Octal257257177

Shades and tints

Shades of #AFAF7F

#AFAF7F
(175,175,127)
#A0A074
(160,160,116)
#919169
(145,145,105)
#82825E
(130,130,94)
#737353
(115,115,83)
#646448
(100,100,72)
#55553D
(85,85,61)
#464632
(70,70,50)
#373727
(55,55,39)
#28281C
(40,40,28)
#191911
(25,25,17)
#000000
(0,0,0)

Tints of #AFAF7F

#AFAF7F
(175,175,127)
#B6B68A
(182,182,138)
#BDBD95
(189,189,149)
#C4C4A0
(196,196,160)
#CBCBAB
(203,203,171)
#D2D2B6
(210,210,182)
#D9D9C1
(217,217,193)
#E0E0CC
(224,224,204)
#E7E7D7
(231,231,215)
#EEEEE2
(238,238,226)
#F5F5ED
(245,245,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFAF7F; }

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

This text font color is #AFAF7F.


Background Color

.myBgColor { background-color: #AFAF7F; }

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

This div background color is #AFAF7F.


Border color

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

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

This div border color is #AFAF7F.


Opacity

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

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

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

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

This text has shadow with #AFAF7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFAF7F on black background.


Color preview on white background

This text has color #AFAF7F on white background.



Black color preview on #AFAF7F background

This text has black color on #AFAF7F background.


White color preview on #AFAF7F background

This text has white color on #AFAF7F background.