COLOR #C797C5

HEX: #C797C5
RGB: (199,151,197)

Color info

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

RGB color model

#C797C5 color RGB value is (199,151,197).

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

RGB channels and saturation

R 199 of 255 = 78%
G 151 of 255 = 59%
B 197 of 255 = 77%

199
151
197

R + G + B ~ 71%. #C797C5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
199 + 151 + 197 = 547 (100%)
R 199 of 547 ~ 36.38%
G 151 of 547 ~ 27.61%
B 197 of 547 ~ 36.01%

%36.38
%27.61
%36.01

CMYK color model

#C797C5 color CMYK value is (0,24,1,22).

  • cyan value is 0.00%
  • magenta value is 24.12%
  • yellow value is 1.01%
  • key color value is 21.96%
CMYK:
(0,24,1,22)
C0M24Y1K22 
(0%,24%,1%,22%)
(0.00/0.24/0.01/0.22)	

CMYK percentages

%0
%24.12
%1.01
%21.96

Codes

Color #C797C5 in popluar color models

C797C5
RGB199151197
HSL303°30.00%68.63%
HSB/HSV303°24.12%78.04%
CMYK0.00%24.12%1.01%
21.96%

Color #C797C5 in popluar number systems.

HEXC797C5
Decimal199151197
Binary110001111001011111000101
Octal307227305

Shades and tints

Shades of #C797C5

#C797C5
(199,151,197)
#B58AB4
(181,138,180)
#A37DA3
(163,125,163)
#917092
(145,112,146)
#7F6381
(127,99,129)
#6D5670
(109,86,112)
#5B495F
(91,73,95)
#493C4E
(73,60,78)
#372F3D
(55,47,61)
#25222C
(37,34,44)
#13151B
(19,21,27)
#000000
(0,0,0)

Tints of #C797C5

#C797C5
(199,151,197)
#CCA0CA
(204,160,202)
#D1A9CF
(209,169,207)
#D6B2D4
(214,178,212)
#DBBBD9
(219,187,217)
#E0C4DE
(224,196,222)
#E5CDE3
(229,205,227)
#EAD6E8
(234,214,232)
#EFDFED
(239,223,237)
#F4E8F2
(244,232,242)
#F9F1F7
(249,241,247)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #C797C5; }

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

This text font color is #C797C5.


Background Color

.myBgColor { background-color: #C797C5; }

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

This div background color is #C797C5.


Border color

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

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

This div border color is #C797C5.


Opacity

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

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

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

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

This text has shadow with #C797C5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C797C5 on black background.


Color preview on white background

This text has color #C797C5 on white background.



Black color preview on #C797C5 background

This text has black color on #C797C5 background.


White color preview on #C797C5 background

This text has white color on #C797C5 background.