COLOR #AFB787

HEX: #AFB787
RGB: (175,183,135)

Color info

#AFB787 contains red, green and blue colors in about the same proportion. Web safe color of #AFB787 is #99CC99 (or #9C9).

RGB color model

#AFB787 color RGB value is (175,183,135).

  • red value is 175;
  • green value is 183;
  • blue value is 135.
RGB:
(175,183,135)
(69%,72%,53%)

RGB channels and saturation

R 175 of 255 = 69%
G 183 of 255 = 72%
B 135 of 255 = 53%

175
183
135

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

Portions of RGB colors in percentages

R + G + B =
175 + 183 + 135 = 493 (100%)
R 175 of 493 ~ 35.5%
G 183 of 493 ~ 37.12%
B 135 of 493 ~ 27.38%

%35.5
%37.12
%27.38

CMYK color model

#AFB787 color CMYK value is (4,0,26,28).

  • cyan value is 4.37%
  • magenta value is 0.00%
  • yellow value is 26.23%
  • key color value is 28.24%
CMYK:
(4,0,26,28)
C4M0Y26K28 
(4%,0%,26%,28%)
(0.04/0.00/0.26/0.28)	

CMYK percentages

%4.37
%0
%26.23
%28.24

Codes

Color #AFB787 in popluar color models

AFB787
RGB175183135
HSL70°25.00%62.35%
HSB/HSV70°26.23%71.76%
CMYK4.37%0.00%26.23%
28.24%

Color #AFB787 in popluar number systems.

HEXAFB787
Decimal175183135
Binary101011111011011110000111
Octal257267207

Shades and tints

Shades of #AFB787

#AFB787
(175,183,135)
#A0A77B
(160,167,123)
#91976F
(145,151,111)
#828763
(130,135,99)
#737757
(115,119,87)
#64674B
(100,103,75)
#55573F
(85,87,63)
#464733
(70,71,51)
#373727
(55,55,39)
#28271B
(40,39,27)
#19170F
(25,23,15)
#000000
(0,0,0)

Tints of #AFB787

#AFB787
(175,183,135)
#B6BD91
(182,189,145)
#BDC39B
(189,195,155)
#C4C9A5
(196,201,165)
#CBCFAF
(203,207,175)
#D2D5B9
(210,213,185)
#D9DBC3
(217,219,195)
#E0E1CD
(224,225,205)
#E7E7D7
(231,231,215)
#EEEDE1
(238,237,225)
#F5F3EB
(245,243,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFB787; }

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

This text font color is #AFB787.


Background Color

.myBgColor { background-color: #AFB787; }

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

This div background color is #AFB787.


Border color

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

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

This div border color is #AFB787.


Opacity

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

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

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

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

This text has shadow with #AFB787 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFB787 on black background.


Color preview on white background

This text has color #AFB787 on white background.



Black color preview on #AFB787 background

This text has black color on #AFB787 background.


White color preview on #AFB787 background

This text has white color on #AFB787 background.