COLOR #B9B998

HEX: #B9B998
RGB: (185,185,152)

Color info

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

RGB color model

#B9B998 color RGB value is (185,185,152).

  • red value is 185;
  • green value is 185;
  • blue value is 152.
RGB:
(185,185,152)
(73%,73%,60%)

RGB channels and saturation

R 185 of 255 = 73%
G 185 of 255 = 73%
B 152 of 255 = 60%

185
185
152

R + G + B ~ 69%. #B9B998 is quite light color.

Portions of RGB colors in percentages

R + G + B =
185 + 185 + 152 = 522 (100%)
R 185 of 522 ~ 35.44%
G 185 of 522 ~ 35.44%
B 152 of 522 ~ 29.12%

%35.44
%35.44
%29.12

CMYK color model

#B9B998 color CMYK value is (0,0,18,27).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 17.84%
  • key color value is 27.45%
CMYK:
(0,0,18,27)
C0M0Y18K27 
(0%,0%,18%,27%)
(0.00/0.00/0.18/0.27)	

CMYK percentages

%0
%0
%17.84
%27.45

Codes

Color #B9B998 in popluar color models

B9B998
RGB185185152
HSL60°19.08%66.08%
HSB/HSV60°17.84%72.55%
CMYK0.00%0.00%17.84%
27.45%

Color #B9B998 in popluar number systems.

HEXB9B998
Decimal185185152
Binary101110011011100110011000
Octal271271230

Shades and tints

Shades of #B9B998

#B9B998
(185,185,152)
#A9A98B
(169,169,139)
#99997E
(153,153,126)
#898971
(137,137,113)
#797964
(121,121,100)
#696957
(105,105,87)
#59594A
(89,89,74)
#49493D
(73,73,61)
#393930
(57,57,48)
#292923
(41,41,35)
#191916
(25,25,22)
#000000
(0,0,0)

Tints of #B9B998

#B9B998
(185,185,152)
#BFBFA1
(191,191,161)
#C5C5AA
(197,197,170)
#CBCBB3
(203,203,179)
#D1D1BC
(209,209,188)
#D7D7C5
(215,215,197)
#DDDDCE
(221,221,206)
#E3E3D7
(227,227,215)
#E9E9E0
(233,233,224)
#EFEFE9
(239,239,233)
#F5F5F2
(245,245,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B9B998 color. Also use rgb(185,185,152) instead hex code.

Text Font Color

.myTextColor { color: #B9B998; }

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

This text font color is #B9B998.


Background Color

.myBgColor { background-color: #B9B998; }

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

This div background color is #B9B998.


Border color

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

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

This div border color is #B9B998.


Opacity

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

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

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

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

This text has shadow with #B9B998 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B9B998 on black background.


Color preview on white background

This text has color #B9B998 on white background.



Black color preview on #B9B998 background

This text has black color on #B9B998 background.


White color preview on #B9B998 background

This text has white color on #B9B998 background.