COLOR #AFC787

HEX: #AFC787
RGB: (175,199,135)

Color info

#AFC787 contains mainly red and green colors. Web safe color of #AFC787 is #99CC99 (or #9C9).

RGB color model

#AFC787 color RGB value is (175,199,135).

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

RGB channels and saturation

R 175 of 255 = 69%
G 199 of 255 = 78%
B 135 of 255 = 53%

175
199
135

R + G + B ~ 67%. #AFC787 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 199 + 135 = 509 (100%)
R 175 of 509 ~ 34.38%
G 199 of 509 ~ 39.1%
B 135 of 509 ~ 26.52%

%34.38
%39.1
%26.52

CMYK color model

#AFC787 color CMYK value is (12,0,32,22).

  • cyan value is 12.06%
  • magenta value is 0.00%
  • yellow value is 32.16%
  • key color value is 21.96%
CMYK:
(12,0,32,22)
C12M0Y32K22 
(12%,0%,32%,22%)
(0.12/0.00/0.32/0.22)	

CMYK percentages

%12.06
%0
%32.16
%21.96

Codes

Color #AFC787 in popluar color models

AFC787
RGB175199135
HSL83°36.36%65.49%
HSB/HSV83°32.16%78.04%
CMYK12.06%0.00%32.16%
21.96%

Color #AFC787 in popluar number systems.

HEXAFC787
Decimal175199135
Binary101011111100011110000111
Octal257307207

Shades and tints

Shades of #AFC787

#AFC787
(175,199,135)
#A0B57B
(160,181,123)
#91A36F
(145,163,111)
#829163
(130,145,99)
#737F57
(115,127,87)
#646D4B
(100,109,75)
#555B3F
(85,91,63)
#464933
(70,73,51)
#373727
(55,55,39)
#28251B
(40,37,27)
#19130F
(25,19,15)
#000000
(0,0,0)

Tints of #AFC787

#AFC787
(175,199,135)
#B6CC91
(182,204,145)
#BDD19B
(189,209,155)
#C4D6A5
(196,214,165)
#CBDBAF
(203,219,175)
#D2E0B9
(210,224,185)
#D9E5C3
(217,229,195)
#E0EACD
(224,234,205)
#E7EFD7
(231,239,215)
#EEF4E1
(238,244,225)
#F5F9EB
(245,249,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFC787; }

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

This text font color is #AFC787.


Background Color

.myBgColor { background-color: #AFC787; }

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

This div background color is #AFC787.


Border color

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

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

This div border color is #AFC787.


Opacity

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

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

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

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

This text has shadow with #AFC787 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFC787 on black background.


Color preview on white background

This text has color #AFC787 on white background.



Black color preview on #AFC787 background

This text has black color on #AFC787 background.


White color preview on #AFC787 background

This text has white color on #AFC787 background.