COLOR #C797A6

HEX: #C797A6
RGB: (199,151,166)

Color info

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

RGB color model

#C797A6 color RGB value is (199,151,166).

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

RGB channels and saturation

R 199 of 255 = 78%
G 151 of 255 = 59%
B 166 of 255 = 65%

199
151
166

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

Portions of RGB colors in percentages

R + G + B =
199 + 151 + 166 = 516 (100%)
R 199 of 516 ~ 38.57%
G 151 of 516 ~ 29.26%
B 166 of 516 ~ 32.17%

%38.57
%29.26
%32.17

CMYK color model

#C797A6 color CMYK value is (0,24,17,22).

  • cyan value is 0.00%
  • magenta value is 24.12%
  • yellow value is 16.58%
  • key color value is 21.96%
CMYK:
(0,24,17,22)
C0M24Y17K22 
(0%,24%,17%,22%)
(0.00/0.24/0.17/0.22)	

CMYK percentages

%0
%24.12
%16.58
%21.96

Codes

Color #C797A6 in popluar color models

C797A6
RGB199151166
HSL341°30.00%68.63%
HSB/HSV341°24.12%78.04%
CMYK0.00%24.12%16.58%
21.96%

Color #C797A6 in popluar number systems.

HEXC797A6
Decimal199151166
Binary110001111001011110100110
Octal307227246

Shades and tints

Shades of #C797A6

#C797A6
(199,151,166)
#B58A97
(181,138,151)
#A37D88
(163,125,136)
#917079
(145,112,121)
#7F636A
(127,99,106)
#6D565B
(109,86,91)
#5B494C
(91,73,76)
#493C3D
(73,60,61)
#372F2E
(55,47,46)
#25221F
(37,34,31)
#131510
(19,21,16)
#000000
(0,0,0)

Tints of #C797A6

#C797A6
(199,151,166)
#CCA0AE
(204,160,174)
#D1A9B6
(209,169,182)
#D6B2BE
(214,178,190)
#DBBBC6
(219,187,198)
#E0C4CE
(224,196,206)
#E5CDD6
(229,205,214)
#EAD6DE
(234,214,222)
#EFDFE6
(239,223,230)
#F4E8EE
(244,232,238)
#F9F1F6
(249,241,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #C797A6; }

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

This text font color is #C797A6.


Background Color

.myBgColor { background-color: #C797A6; }

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

This div background color is #C797A6.


Border color

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

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

This div border color is #C797A6.


Opacity

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

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

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

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

This text has shadow with #C797A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C797A6 on black background.


Color preview on white background

This text has color #C797A6 on white background.



Black color preview on #C797A6 background

This text has black color on #C797A6 background.


White color preview on #C797A6 background

This text has white color on #C797A6 background.