COLOR #B4B797

HEX: #B4B797
RGB: (180,183,151)

Color info

#B4B797 contains red, green and blue colors in about the same proportion. Web safe color of #B4B797 is #CCCC99 (or #CC9).

RGB color model

#B4B797 color RGB value is (180,183,151).

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

RGB channels and saturation

R 180 of 255 = 71%
G 183 of 255 = 72%
B 151 of 255 = 59%

180
183
151

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

Portions of RGB colors in percentages

R + G + B =
180 + 183 + 151 = 514 (100%)
R 180 of 514 ~ 35.02%
G 183 of 514 ~ 35.6%
B 151 of 514 ~ 29.38%

%35.02
%35.6
%29.38

CMYK color model

#B4B797 color CMYK value is (2,0,17,28).

  • cyan value is 1.64%
  • magenta value is 0.00%
  • yellow value is 17.49%
  • key color value is 28.24%
CMYK:
(2,0,17,28)
C2M0Y17K28 
(2%,0%,17%,28%)
(0.02/0.00/0.17/0.28)	

CMYK percentages

%1.64
%0
%17.49
%28.24

Codes

Color #B4B797 in popluar color models

B4B797
RGB180183151
HSL66°18.18%65.49%
HSB/HSV66°17.49%71.76%
CMYK1.64%0.00%17.49%
28.24%

Color #B4B797 in popluar number systems.

HEXB4B797
Decimal180183151
Binary101101001011011110010111
Octal264267227

Shades and tints

Shades of #B4B797

#B4B797
(180,183,151)
#A4A78A
(164,167,138)
#94977D
(148,151,125)
#848770
(132,135,112)
#747763
(116,119,99)
#646756
(100,103,86)
#545749
(84,87,73)
#44473C
(68,71,60)
#34372F
(52,55,47)
#242722
(36,39,34)
#141715
(20,23,21)
#000000
(0,0,0)

Tints of #B4B797

#B4B797
(180,183,151)
#BABDA0
(186,189,160)
#C0C3A9
(192,195,169)
#C6C9B2
(198,201,178)
#CCCFBB
(204,207,187)
#D2D5C4
(210,213,196)
#D8DBCD
(216,219,205)
#DEE1D6
(222,225,214)
#E4E7DF
(228,231,223)
#EAEDE8
(234,237,232)
#F0F3F1
(240,243,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #B4B797; }

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

This text font color is #B4B797.


Background Color

.myBgColor { background-color: #B4B797; }

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

This div background color is #B4B797.


Border color

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

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

This div border color is #B4B797.


Opacity

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

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

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

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

This text has shadow with #B4B797 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B4B797 on black background.


Color preview on white background

This text has color #B4B797 on white background.



Black color preview on #B4B797 background

This text has black color on #B4B797 background.


White color preview on #B4B797 background

This text has white color on #B4B797 background.