COLOR #C797B9

HEX: #C797B9
RGB: (199,151,185)

Color info

#C797B9 contains red, green and blue colors in about the same proportion. Web safe color of #C797B9 is #CC99CC (or #C9C).

RGB color model

#C797B9 color RGB value is (199,151,185).

  • red value is 199;
  • green value is 151;
  • blue value is 185.
RGB:
(199,151,185)
(78%,59%,73%)

RGB channels and saturation

R 199 of 255 = 78%
G 151 of 255 = 59%
B 185 of 255 = 73%

199
151
185

R + G + B ~ 70%. #C797B9 is quite light color.

Portions of RGB colors in percentages

R + G + B =
199 + 151 + 185 = 535 (100%)
R 199 of 535 ~ 37.2%
G 151 of 535 ~ 28.22%
B 185 of 535 ~ 34.58%

%37.2
%28.22
%34.58

CMYK color model

#C797B9 color CMYK value is (0,24,7,22).

  • cyan value is 0.00%
  • magenta value is 24.12%
  • yellow value is 7.04%
  • key color value is 21.96%
CMYK:
(0,24,7,22)
C0M24Y7K22 
(0%,24%,7%,22%)
(0.00/0.24/0.07/0.22)	

CMYK percentages

%0
%24.12
%7.04
%21.96

Codes

Color #C797B9 in popluar color models

C797B9
RGB199151185
HSL318°30.00%68.63%
HSB/HSV318°24.12%78.04%
CMYK0.00%24.12%7.04%
21.96%

Color #C797B9 in popluar number systems.

HEXC797B9
Decimal199151185
Binary110001111001011110111001
Octal307227271

Shades and tints

Shades of #C797B9

#C797B9
(199,151,185)
#B58AA9
(181,138,169)
#A37D99
(163,125,153)
#917089
(145,112,137)
#7F6379
(127,99,121)
#6D5669
(109,86,105)
#5B4959
(91,73,89)
#493C49
(73,60,73)
#372F39
(55,47,57)
#252229
(37,34,41)
#131519
(19,21,25)
#000000
(0,0,0)

Tints of #C797B9

#C797B9
(199,151,185)
#CCA0BF
(204,160,191)
#D1A9C5
(209,169,197)
#D6B2CB
(214,178,203)
#DBBBD1
(219,187,209)
#E0C4D7
(224,196,215)
#E5CDDD
(229,205,221)
#EAD6E3
(234,214,227)
#EFDFE9
(239,223,233)
#F4E8EF
(244,232,239)
#F9F1F5
(249,241,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #C797B9; }

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

This text font color is #C797B9.


Background Color

.myBgColor { background-color: #C797B9; }

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

This div background color is #C797B9.


Border color

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

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

This div border color is #C797B9.


Opacity

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

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

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

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

This text has shadow with #C797B9 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C797B9 on black background.


Color preview on white background

This text has color #C797B9 on white background.



Black color preview on #C797B9 background

This text has black color on #C797B9 background.


White color preview on #C797B9 background

This text has white color on #C797B9 background.