COLOR #AFA751

HEX: #AFA751
RGB: (175,167,81)

Color info

#AFA751 contains mainly red and green colors. Web safe color of #AFA751 is #999966 (or #996).

RGB color model

#AFA751 color RGB value is (175,167,81).

  • red value is 175;
  • green value is 167;
  • blue value is 81.
RGB:
(175,167,81)
(69%,65%,32%)

RGB channels and saturation

R 175 of 255 = 69%
G 167 of 255 = 65%
B 81 of 255 = 32%

175
167
81

R + G + B ~ 55%. #AFA751 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
175 + 167 + 81 = 423 (100%)
R 175 of 423 ~ 41.37%
G 167 of 423 ~ 39.48%
B 81 of 423 ~ 19.15%

%41.37
%39.48
%19.15

CMYK color model

#AFA751 color CMYK value is (0,5,54,31).

  • cyan value is 0.00%
  • magenta value is 4.57%
  • yellow value is 53.71%
  • key color value is 31.37%
CMYK:
(0,5,54,31)
C0M5Y54K31 
(0%,5%,54%,31%)
(0.00/0.05/0.54/0.31)	

CMYK percentages

%0
%4.57
%53.71
%31.37

Codes

Color #AFA751 in popluar color models

AFA751
RGB17516781
HSL55°37.01%50.20%
HSB/HSV55°53.71%68.63%
CMYK0.00%4.57%53.71%
31.37%

Color #AFA751 in popluar number systems.

HEXAFA751
Decimal17516781
Binary10101111101001111010001
Octal257247121

Shades and tints

Shades of #AFA751

#AFA751
(175,167,81)
#A0984A
(160,152,74)
#918943
(145,137,67)
#827A3C
(130,122,60)
#736B35
(115,107,53)
#645C2E
(100,92,46)
#554D27
(85,77,39)
#463E20
(70,62,32)
#372F19
(55,47,25)
#282012
(40,32,18)
#19110B
(25,17,11)
#000000
(0,0,0)

Tints of #AFA751

#AFA751
(175,167,81)
#B6AF60
(182,175,96)
#BDB76F
(189,183,111)
#C4BF7E
(196,191,126)
#CBC78D
(203,199,141)
#D2CF9C
(210,207,156)
#D9D7AB
(217,215,171)
#E0DFBA
(224,223,186)
#E7E7C9
(231,231,201)
#EEEFD8
(238,239,216)
#F5F7E7
(245,247,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA751; }

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

This text font color is #AFA751.


Background Color

.myBgColor { background-color: #AFA751; }

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

This div background color is #AFA751.


Border color

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

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

This div border color is #AFA751.


Opacity

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

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

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

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

This text has shadow with #AFA751 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA751 on black background.


Color preview on white background

This text has color #AFA751 on white background.



Black color preview on #AFA751 background

This text has black color on #AFA751 background.


White color preview on #AFA751 background

This text has white color on #AFA751 background.