COLOR #AFB878

HEX: #AFB878 RGB: (175,184,120)

Color info

#AFB878 contains mainly red and green colors. Web safe color of #AFB878 is #99CC66 (or #9C6).

RGB color model

#AFB878 color RGB value is (175,184,120).

RGB: (175,184,120) (69%, 72%, 47%)

RGB channels and saturation

R 175 of 255 = 69%
G 184 of 255 = 72%
B 120 of 255 = 47%

175
184
120

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

Portions of RGB colors in percentages

R + G + B = 175 + 184 + 120 = 479 (100%)
R 175 of 479 ~ 36.53%
G 184 of 479 ~ 38.41%
B 120 of 479 ~ 25.05'%

%36.53
%38.41
%25.05

CMYK color model

#AFB878 color CMYK value is (5,0,35,28).

  • cyan value is 4.89%
  • magenta value is 0.00%
  • yellow value is 34.78%
  • key color value is 27.84%

CMYK: (5,0,35,28)
C5M0Y35K28 (5%, 0%, 35%, 28%)
(0.05 / 0.00 / 0.35 / 0.28)

CMYK percentages

%4.89
%0
%34.78
%27.84

Codes

Color #AFB878 in popluar color models

AF B8 78
RGB 175 184 120
HSL 68° 31.07% 59.61%
HSB/HSV 68° 34.78% 72.16%
CMYK 4.89% 0.00% 34.78%
27.84%

Color #AFB878 in popluar number systems.

HEX AF B8 78
Decimal 175 184 120
Binary 10101111 10111000 1111000
Octal 257 270 170

Shades and tints

Shades of #AFB878

#AFB878
(175,184,120)
#A0A86E
(160,168,110)
#919864
(145,152,100)
#82885A
(130,136,90)
#737850
(115,120,80)
#646846
(100,104,70)
#55583C
(85,88,60)
#464832
(70,72,50)
#373828
(55,56,40)
#28281E
(40,40,30)
#191814
(25,24,20)
#000000
(0,0,0)

Tints of #AFB878

#AFB878
(175,184,120)
#B6BE84
(182,190,132)
#BDC490
(189,196,144)
#C4CA9C
(196,202,156)
#CBD0A8
(203,208,168)
#D2D6B4
(210,214,180)
#D9DCC0
(217,220,192)
#E0E2CC
(224,226,204)
#E7E8D8
(231,232,216)
#EEEEE4
(238,238,228)
#F5F4F0
(245,244,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFB878; }

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

This text font color is #AFB878.

Background Color

.myBgColor { background-color: #AFB878; }

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

This div background color is #AFB878.

Border color

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

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

This div border color is #AFB878.

Opacity

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

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

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

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

This text has shadow with #AFB878 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AFB878.

Preview

Color preview on black background

This text has color #AFB878 on black background.


Color preview on white background

This text has color #AFB878 on white background.


Black color preview on #AFB878 background

This text has black color on #AFB878 background.


White color preview on #AFB878 background

This text has white color on #AFB878 background.


Related colors

Complementary color

Complementary color for #hex is #504787.


I love getcolorcode.com

Triadic colors

1 #78AFB8 and #B878AF with #AFB878 are triadic colors.

2 #78B8AF and #B8AF78 with #AFB878 are triadic colors.