COLOR #B797B2

HEX: #B797B2
RGB: (183,151,178)

Color info

#B797B2 contains red, green and blue colors in about the same proportion. Web safe color of #B797B2 is #CC9999 (or #C99).

RGB color model

#B797B2 color RGB value is (183,151,178).

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

RGB channels and saturation

R 183 of 255 = 72%
G 151 of 255 = 59%
B 178 of 255 = 70%

183
151
178

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

Portions of RGB colors in percentages

R + G + B =
183 + 151 + 178 = 512 (100%)
R 183 of 512 ~ 35.74%
G 151 of 512 ~ 29.49%
B 178 of 512 ~ 34.77%

%35.74
%29.49
%34.77

CMYK color model

#B797B2 color CMYK value is (0,17,3,28).

  • cyan value is 0.00%
  • magenta value is 17.49%
  • yellow value is 2.73%
  • key color value is 28.24%
CMYK:
(0,17,3,28)
C0M17Y3K28 
(0%,17%,3%,28%)
(0.00/0.17/0.03/0.28)	

CMYK percentages

%0
%17.49
%2.73
%28.24

Codes

Color #B797B2 in popluar color models

B797B2
RGB183151178
HSL309°18.18%65.49%
HSB/HSV309°17.49%71.76%
CMYK0.00%17.49%2.73%
28.24%

Color #B797B2 in popluar number systems.

HEXB797B2
Decimal183151178
Binary101101111001011110110010
Octal267227262

Shades and tints

Shades of #B797B2

#B797B2
(183,151,178)
#A78AA2
(167,138,162)
#977D92
(151,125,146)
#877082
(135,112,130)
#776372
(119,99,114)
#675662
(103,86,98)
#574952
(87,73,82)
#473C42
(71,60,66)
#372F32
(55,47,50)
#272222
(39,34,34)
#171512
(23,21,18)
#000000
(0,0,0)

Tints of #B797B2

#B797B2
(183,151,178)
#BDA0B9
(189,160,185)
#C3A9C0
(195,169,192)
#C9B2C7
(201,178,199)
#CFBBCE
(207,187,206)
#D5C4D5
(213,196,213)
#DBCDDC
(219,205,220)
#E1D6E3
(225,214,227)
#E7DFEA
(231,223,234)
#EDE8F1
(237,232,241)
#F3F1F8
(243,241,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #B797B2; }

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

This text font color is #B797B2.


Background Color

.myBgColor { background-color: #B797B2; }

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

This div background color is #B797B2.


Border color

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

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

This div border color is #B797B2.


Opacity

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

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

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

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

This text has shadow with #B797B2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B797B2 on black background.


Color preview on white background

This text has color #B797B2 on white background.



Black color preview on #B797B2 background

This text has black color on #B797B2 background.


White color preview on #B797B2 background

This text has white color on #B797B2 background.