COLOR #B9798E

HEX: #B9798E RGB: (185,121,142)

Color info

#B9798E contains mainly red and blue colors. Web safe color of #B9798E is #CC6699 (or #C69).

RGB color model

#B9798E color RGB value is (185,121,142).

RGB: (185,121,142) (73%, 47%, 56%)

RGB channels and saturation

R 185 of 255 = 73%
G 121 of 255 = 47%
B 142 of 255 = 56%

185
121
142

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

Portions of RGB colors in percentages

R + G + B = 185 + 121 + 142 = 448 (100%)
R 185 of 448 ~ 41.29%
G 121 of 448 ~ 27.01%
B 142 of 448 ~ 31.7'%

%41.29
%27.01
%31.7

CMYK color model

#B9798E color CMYK value is (0,35,23,27).

  • cyan value is 0.00%
  • magenta value is 34.59%
  • yellow value is 23.24%
  • key color value is 27.45%

CMYK: (0,35,23,27)
C0M35Y23K27 (0%, 35%, 23%, 27%)
(0.00 / 0.35 / 0.23 / 0.27)

CMYK percentages

%0
%34.59
%23.24
%27.45

Codes

Color #B9798E in popluar color models

B9 79 8E
RGB 185 121 142
HSL 340° 31.37% 60.00%
HSB/HSV 340° 34.59% 72.55%
CMYK 0.00% 34.59% 23.24%
27.45%

Color #B9798E in popluar number systems.

HEX B9 79 8E
Decimal 185 121 142
Binary 10111001 1111001 10001110
Octal 271 171 216

Shades and tints

Shades of #B9798E

#B9798E
(185,121,142)
#A96E82
(169,110,130)
#996376
(153,99,118)
#89586A
(137,88,106)
#794D5E
(121,77,94)
#694252
(105,66,82)
#593746
(89,55,70)
#492C3A
(73,44,58)
#39212E
(57,33,46)
#291622
(41,22,34)
#190B16
(25,11,22)
#000000
(0,0,0)

Tints of #B9798E

#B9798E
(185,121,142)
#BF8598
(191,133,152)
#C591A2
(197,145,162)
#CB9DAC
(203,157,172)
#D1A9B6
(209,169,182)
#D7B5C0
(215,181,192)
#DDC1CA
(221,193,202)
#E3CDD4
(227,205,212)
#E9D9DE
(233,217,222)
#EFE5E8
(239,229,232)
#F5F1F2
(245,241,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #B9798E; }

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

This text font color is #B9798E.

Background Color

.myBgColor { background-color: #B9798E; }

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

This div background color is #B9798E.

Border color

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

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

This div border color is #B9798E.

Opacity

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

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

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

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

This text has shadow with #B9798E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #B9798E.

Preview

Color preview on black background

This text has color #B9798E on black background.


Color preview on white background

This text has color #B9798E on white background.


Black color preview on #B9798E background

This text has black color on #B9798E background.


White color preview on #B9798E background

This text has white color on #B9798E background.


Related colors

Complementary color

Complementary color for #hex is #468671.


I love getcolorcode.com

Triadic colors

1 #8EB979 and #798EB9 with #B9798E are triadic colors.

2 #8E79B9 and #79B98E with #B9798E are triadic colors.