COLOR #AFAF8E

HEX: #AFAF8E
RGB: (175,175,142)

Color info

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

RGB color model

#AFAF8E color RGB value is (175,175,142).

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

RGB channels and saturation

R 175 of 255 = 69%
G 175 of 255 = 69%
B 142 of 255 = 56%

175
175
142

R + G + B ~ 65%. #AFAF8E is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 175 + 142 = 492 (100%)
R 175 of 492 ~ 35.57%
G 175 of 492 ~ 35.57%
B 142 of 492 ~ 28.86%

%35.57
%35.57
%28.86

CMYK color model

#AFAF8E color CMYK value is (0,0,19,31).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 18.86%
  • key color value is 31.37%
CMYK:
(0,0,19,31)
C0M0Y19K31 
(0%,0%,19%,31%)
(0.00/0.00/0.19/0.31)	

CMYK percentages

%0
%0
%18.86
%31.37

Codes

Color #AFAF8E in popluar color models

AFAF8E
RGB175175142
HSL60°17.10%62.16%
HSB/HSV60°18.86%68.63%
CMYK0.00%0.00%18.86%
31.37%

Color #AFAF8E in popluar number systems.

HEXAFAF8E
Decimal175175142
Binary101011111010111110001110
Octal257257216

Shades and tints

Shades of #AFAF8E

#AFAF8E
(175,175,142)
#A0A082
(160,160,130)
#919176
(145,145,118)
#82826A
(130,130,106)
#73735E
(115,115,94)
#646452
(100,100,82)
#555546
(85,85,70)
#46463A
(70,70,58)
#37372E
(55,55,46)
#282822
(40,40,34)
#191916
(25,25,22)
#000000
(0,0,0)

Tints of #AFAF8E

#AFAF8E
(175,175,142)
#B6B698
(182,182,152)
#BDBDA2
(189,189,162)
#C4C4AC
(196,196,172)
#CBCBB6
(203,203,182)
#D2D2C0
(210,210,192)
#D9D9CA
(217,217,202)
#E0E0D4
(224,224,212)
#E7E7DE
(231,231,222)
#EEEEE8
(238,238,232)
#F5F5F2
(245,245,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFAF8E; }

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

This text font color is #AFAF8E.


Background Color

.myBgColor { background-color: #AFAF8E; }

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

This div background color is #AFAF8E.


Border color

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

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

This div border color is #AFAF8E.


Opacity

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

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

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

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

This text has shadow with #AFAF8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFAF8E on black background.


Color preview on white background

This text has color #AFAF8E on white background.



Black color preview on #AFAF8E background

This text has black color on #AFAF8E background.


White color preview on #AFAF8E background

This text has white color on #AFAF8E background.