COLOR #B5798C

HEX: #B5798C RGB: (181,121,140)

Color info

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

RGB color model

#B5798C color RGB value is (181,121,140).

RGB: (181,121,140) (71%, 47%, 55%)

RGB channels and saturation

R 181 of 255 = 71%
G 121 of 255 = 47%
B 140 of 255 = 55%

181
121
140

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

Portions of RGB colors in percentages

R + G + B = 181 + 121 + 140 = 442 (100%)
R 181 of 442 ~ 40.95%
G 121 of 442 ~ 27.38%
B 140 of 442 ~ 31.67'%

%40.95
%27.38
%31.67

CMYK color model

#B5798C color CMYK value is (0,33,23,29).

  • cyan value is 0.00%
  • magenta value is 33.15%
  • yellow value is 22.65%
  • key color value is 29.02%
CMYK: (0,33,23,29) C0M33Y23K29 (0%,33%,23%,29%) (0.00/0.33/0.23/0.29) 

CMYK percentages

%0
%33.15
%22.65
%29.02

Codes

Color #B5798C in popluar color models

B5 79 8C
RGB 181 121 140
HSL 341° 28.85% 59.22%
HSB/HSV 341° 33.15% 70.98%
CMYK 0.00% 33.15% 22.65%
29.02%

Color #B5798C in popluar number systems.

HEX B5 79 8C
Decimal 181 121 140
Binary 10110101 1111001 10001100
Octal 265 171 214

Shades and tints

Shades of #B5798C

#B5798C
(181,121,140)
#A56E80
(165,110,128)
#956374
(149,99,116)
#855868
(133,88,104)
#754D5C
(117,77,92)
#654250
(101,66,80)
#553744
(85,55,68)
#452C38
(69,44,56)
#35212C
(53,33,44)
#251620
(37,22,32)
#150B14
(21,11,20)
#000000
(0,0,0)

Tints of #B5798C

#B5798C
(181,121,140)
#BB8596
(187,133,150)
#C191A0
(193,145,160)
#C79DAA
(199,157,170)
#CDA9B4
(205,169,180)
#D3B5BE
(211,181,190)
#D9C1C8
(217,193,200)
#DFCDD2
(223,205,210)
#E5D9DC
(229,217,220)
#EBE5E6
(235,229,230)
#F1F1F0
(241,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B5798C color. Also use rgb(181,121,140) instead hex code.

Text Font Color

.myTextColor { color: #B5798C; }

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

This text font color is #B5798C.

Background Color

.myBgColor { background-color: #B5798C; }

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

This div background color is #B5798C.

Border color

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

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

This div border color is #B5798C.

Opacity

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

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

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

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

This text has shadow with #B5798C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #B5798C.

Preview

Color preview on black background

This text has color #B5798C on black background.


Color preview on white background

This text has color #B5798C on white background.


Black color preview on #B5798C background

This text has black color on #B5798C background.


White color preview on #B5798C background

This text has white color on #B5798C background.


Related colors

Complementary color

Complementary color for #hex is #4A8673.


I love getcolorcode.com

Triadic colors

1 #8CB579 and #798CB5 with #B5798C are triadic colors.

2 #8C79B5 and #79B58C with #B5798C are triadic colors.