COLOR #A2A257

HEX: #A2A257 RGB: (162,162,87)

Color info

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

RGB color model

#A2A257 color RGB value is (162,162,87).

RGB: (162,162,87) (64%, 64%, 34%)

RGB channels and saturation

R 162 of 255 = 64%
G 162 of 255 = 64%
B 87 of 255 = 34%

162
162
87

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

Portions of RGB colors in percentages

R + G + B = 162 + 162 + 87 = 411 (100%)
R 162 of 411 ~ 39.42%
G 162 of 411 ~ 39.42%
B 87 of 411 ~ 21.17'%

%39.42
%39.42
%21.17

CMYK color model

#A2A257 color CMYK value is (0,0,46,36).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 46.30%
  • key color value is 36.47%

CMYK: (0,0,46,36)
C0M0Y46K36 (0%, 0%, 46%, 36%)
(0.00 / 0.00 / 0.46 / 0.36)

CMYK percentages

%0
%0
%46.3
%36.47

Codes

Color #A2A257 in popluar color models

A2 A2 57
RGB 162 162 87
HSL 60° 30.12% 48.82%
HSB/HSV 60° 46.30% 63.53%
CMYK 0.00% 0.00% 46.30%
36.47%

Color #A2A257 in popluar number systems.

HEX A2 A2 57
Decimal 162 162 87
Binary 10100010 10100010 1010111
Octal 242 242 127

Shades and tints

Shades of #A2A257

#A2A257
(162,162,87)
#949450
(148,148,80)
#868649
(134,134,73)
#787842
(120,120,66)
#6A6A3B
(106,106,59)
#5C5C34
(92,92,52)
#4E4E2D
(78,78,45)
#404026
(64,64,38)
#32321F
(50,50,31)
#242418
(36,36,24)
#161611
(22,22,17)
#000000
(0,0,0)

Tints of #A2A257

#A2A257
(162,162,87)
#AAAA66
(170,170,102)
#B2B275
(178,178,117)
#BABA84
(186,186,132)
#C2C293
(194,194,147)
#CACAA2
(202,202,162)
#D2D2B1
(210,210,177)
#DADAC0
(218,218,192)
#E2E2CF
(226,226,207)
#EAEADE
(234,234,222)
#F2F2ED
(242,242,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A2A257 color. Also use rgb(162,162,87) instead hex code.

Text Font Color

.myTextColor { color: #A2A257; }

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

This text font color is #A2A257.

Background Color

.myBgColor { background-color: #A2A257; }

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

This div background color is #A2A257.

Border color

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

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

This div border color is #A2A257.

Opacity

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

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

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

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

This text has shadow with #A2A257 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A2A257.

Preview

Color preview on black background

This text has color #A2A257 on black background.


Color preview on white background

This text has color #A2A257 on white background.


Black color preview on #A2A257 background

This text has black color on #A2A257 background.


White color preview on #A2A257 background

This text has white color on #A2A257 background.


Related colors

Complementary color

Complementary color for #hex is #5D5DA8.


I love getcolorcode.com