COLOR #A5B797

HEX: #A5B797
RGB: (165,183,151)

Color info

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

RGB color model

#A5B797 color RGB value is (165,183,151).

  • red value is 165;
  • green value is 183;
  • blue value is 151.
RGB:
(165,183,151)
(65%,72%,59%)

RGB channels and saturation

R 165 of 255 = 65%
G 183 of 255 = 72%
B 151 of 255 = 59%

165
183
151

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

Portions of RGB colors in percentages

R + G + B =
165 + 183 + 151 = 499 (100%)
R 165 of 499 ~ 33.07%
G 183 of 499 ~ 36.67%
B 151 of 499 ~ 30.26%

%33.07
%36.67
%30.26

CMYK color model

#A5B797 color CMYK value is (10,0,17,28).

  • cyan value is 9.84%
  • magenta value is 0.00%
  • yellow value is 17.49%
  • key color value is 28.24%
CMYK:
(10,0,17,28)
C10M0Y17K28 
(10%,0%,17%,28%)
(0.10/0.00/0.17/0.28)	

CMYK percentages

%9.84
%0
%17.49
%28.24

Codes

Color #A5B797 in popluar color models

A5B797
RGB165183151
HSL94°18.18%65.49%
HSB/HSV94°17.49%71.76%
CMYK9.84%0.00%17.49%
28.24%

Color #A5B797 in popluar number systems.

HEXA5B797
Decimal165183151
Binary101001011011011110010111
Octal245267227

Shades and tints

Shades of #A5B797

#A5B797
(165,183,151)
#96A78A
(150,167,138)
#87977D
(135,151,125)
#788770
(120,135,112)
#697763
(105,119,99)
#5A6756
(90,103,86)
#4B5749
(75,87,73)
#3C473C
(60,71,60)
#2D372F
(45,55,47)
#1E2722
(30,39,34)
#0F1715
(15,23,21)
#000000
(0,0,0)

Tints of #A5B797

#A5B797
(165,183,151)
#ADBDA0
(173,189,160)
#B5C3A9
(181,195,169)
#BDC9B2
(189,201,178)
#C5CFBB
(197,207,187)
#CDD5C4
(205,213,196)
#D5DBCD
(213,219,205)
#DDE1D6
(221,225,214)
#E5E7DF
(229,231,223)
#EDEDE8
(237,237,232)
#F5F3F1
(245,243,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A5B797 color. Also use rgb(165,183,151) instead hex code.

Text Font Color

.myTextColor { color: #A5B797; }

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

This text font color is #A5B797.


Background Color

.myBgColor { background-color: #A5B797; }

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

This div background color is #A5B797.


Border color

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

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

This div border color is #A5B797.


Opacity

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

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

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

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

This text has shadow with #A5B797 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A5B797 on black background.


Color preview on white background

This text has color #A5B797 on white background.



Black color preview on #A5B797 background

This text has black color on #A5B797 background.


White color preview on #A5B797 background

This text has white color on #A5B797 background.