COLOR #C797D4

HEX: #C797D4 RGB: (199,151,212)

Color info

#C797D4 contains mainly red and blue colors. Web safe color of #C797D4 is #CC99CC (or #C9C).

RGB color model

#C797D4 color RGB value is (199,151,212).

RGB: (199,151,212) (78%, 59%, 83%)

RGB channels and saturation

R 199 of 255 = 78%
G 151 of 255 = 59%
B 212 of 255 = 83%

199
151
212

R + G + B ~ 73%. #C797D4 is quite light color.

Portions of RGB colors in percentages

R + G + B = 199 + 151 + 212 = 562 (100%)
R 199 of 562 ~ 35.41%
G 151 of 562 ~ 26.87%
B 212 of 562 ~ 37.72'%

%35.41
%26.87
%37.72

CMYK color model

#C797D4 color CMYK value is (6,29,0,17).

  • cyan value is 6.13%
  • magenta value is 28.77%
  • yellow value is 0.00%
  • key color value is 16.86%
CMYK: (6,29,0,17) C6M29Y0K17 (6%,29%,0%,17%) (0.06/0.29/0.00/0.17) 

CMYK percentages

%6.13
%28.77
%0
%16.86

Codes

Color #C797D4 in popluar color models

C7 97 D4
RGB 199 151 212
HSL 287° 41.50% 71.18%
HSB/HSV 287° 28.77% 83.14%
CMYK 6.13% 28.77% 0.00%
16.86%

Color #C797D4 in popluar number systems.

HEX C7 97 D4
Decimal 199 151 212
Binary 11000111 10010111 11010100
Octal 307 227 324

Shades and tints

Shades of #C797D4

#C797D4
(199,151,212)
#B58AC1
(181,138,193)
#A37DAE
(163,125,174)
#91709B
(145,112,155)
#7F6388
(127,99,136)
#6D5675
(109,86,117)
#5B4962
(91,73,98)
#493C4F
(73,60,79)
#372F3C
(55,47,60)
#252229
(37,34,41)
#131516
(19,21,22)
#000000
(0,0,0)

Tints of #C797D4

#C797D4
(199,151,212)
#CCA0D7
(204,160,215)
#D1A9DA
(209,169,218)
#D6B2DD
(214,178,221)
#DBBBE0
(219,187,224)
#E0C4E3
(224,196,227)
#E5CDE6
(229,205,230)
#EAD6E9
(234,214,233)
#EFDFEC
(239,223,236)
#F4E8EF
(244,232,239)
#F9F1F2
(249,241,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #C797D4; }

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

This text font color is #C797D4.

Background Color

.myBgColor { background-color: #C797D4; }

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

This div background color is #C797D4.

Border color

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

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

This div border color is #C797D4.

Opacity

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

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

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

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

This text has shadow with #C797D4 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #C797D4.

Preview

Color preview on black background

This text has color #C797D4 on black background.


Color preview on white background

This text has color #C797D4 on white background.


Black color preview on #C797D4 background

This text has black color on #C797D4 background.


White color preview on #C797D4 background

This text has white color on #C797D4 background.


Related colors

Complementary color

Complementary color for #hex is #38682B.


I love getcolorcode.com

Triadic colors

1 #D4C797 and #97D4C7 with #C797D4 are triadic colors.

2 #D497C7 and #97C7D4 with #C797D4 are triadic colors.