COLOR #C798B4

HEX: #C798B4
RGB: (199,152,180)

Color info

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

RGB color model

#C798B4 color RGB value is (199,152,180).

  • red value is 199;
  • green value is 152;
  • blue value is 180.
RGB:
(199,152,180)
(78%,60%,71%)

RGB channels and saturation

R 199 of 255 = 78%
G 152 of 255 = 60%
B 180 of 255 = 71%

199
152
180

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

Portions of RGB colors in percentages

R + G + B =
199 + 152 + 180 = 531 (100%)
R 199 of 531 ~ 37.48%
G 152 of 531 ~ 28.63%
B 180 of 531 ~ 33.9%

%37.48
%28.63
%33.9

CMYK color model

#C798B4 color CMYK value is (0,24,10,22).

  • cyan value is 0.00%
  • magenta value is 23.62%
  • yellow value is 9.55%
  • key color value is 21.96%
CMYK:
(0,24,10,22)
C0M24Y10K22 
(0%,24%,10%,22%)
(0.00/0.24/0.10/0.22)	

CMYK percentages

%0
%23.62
%9.55
%21.96

Codes

Color #C798B4 in popluar color models

C798B4
RGB199152180
HSL324°29.56%68.82%
HSB/HSV324°23.62%78.04%
CMYK0.00%23.62%9.55%
21.96%

Color #C798B4 in popluar number systems.

HEXC798B4
Decimal199152180
Binary110001111001100010110100
Octal307230264

Shades and tints

Shades of #C798B4

#C798B4
(199,152,180)
#B58BA4
(181,139,164)
#A37E94
(163,126,148)
#917184
(145,113,132)
#7F6474
(127,100,116)
#6D5764
(109,87,100)
#5B4A54
(91,74,84)
#493D44
(73,61,68)
#373034
(55,48,52)
#252324
(37,35,36)
#131614
(19,22,20)
#000000
(0,0,0)

Tints of #C798B4

#C798B4
(199,152,180)
#CCA1BA
(204,161,186)
#D1AAC0
(209,170,192)
#D6B3C6
(214,179,198)
#DBBCCC
(219,188,204)
#E0C5D2
(224,197,210)
#E5CED8
(229,206,216)
#EAD7DE
(234,215,222)
#EFE0E4
(239,224,228)
#F4E9EA
(244,233,234)
#F9F2F0
(249,242,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C798B4 color. Also use rgb(199,152,180) instead hex code.

Text Font Color

.myTextColor { color: #C798B4; }

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

This text font color is #C798B4.


Background Color

.myBgColor { background-color: #C798B4; }

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

This div background color is #C798B4.


Border color

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

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

This div border color is #C798B4.


Opacity

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

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

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

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

This text has shadow with #C798B4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C798B4 on black background.


Color preview on white background

This text has color #C798B4 on white background.



Black color preview on #C798B4 background

This text has black color on #C798B4 background.


White color preview on #C798B4 background

This text has white color on #C798B4 background.