COLOR #C798DE

HEX: #C798DE
RGB: (199,152,222)

Color info

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

RGB color model

#C798DE color RGB value is (199,152,222).

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

RGB channels and saturation

R 199 of 255 = 78%
G 152 of 255 = 60%
B 222 of 255 = 87%

199
152
222

R + G + B ~ 75%. #C798DE is quite light color.

Portions of RGB colors in percentages

R + G + B =
199 + 152 + 222 = 573 (100%)
R 199 of 573 ~ 34.73%
G 152 of 573 ~ 26.53%
B 222 of 573 ~ 38.74%

%34.73
%26.53
%38.74

CMYK color model

#C798DE color CMYK value is (10,32,0,13).

  • cyan value is 10.36%
  • magenta value is 31.53%
  • yellow value is 0.00%
  • key color value is 12.94%
CMYK:
(10,32,0,13)
C10M32Y0K13 
(10%,32%,0%,13%)
(0.10/0.32/0.00/0.13)	

CMYK percentages

%10.36
%31.53
%0
%12.94

Codes

Color #C798DE in popluar color models

C798DE
RGB199152222
HSL280°51.47%73.33%
HSB/HSV280°31.53%87.06%
CMYK10.36%31.53%0.00%
12.94%

Color #C798DE in popluar number systems.

HEXC798DE
Decimal199152222
Binary110001111001100011011110
Octal307230336

Shades and tints

Shades of #C798DE

#C798DE
(199,152,222)
#B58BCA
(181,139,202)
#A37EB6
(163,126,182)
#9171A2
(145,113,162)
#7F648E
(127,100,142)
#6D577A
(109,87,122)
#5B4A66
(91,74,102)
#493D52
(73,61,82)
#37303E
(55,48,62)
#25232A
(37,35,42)
#131616
(19,22,22)
#000000
(0,0,0)

Tints of #C798DE

#C798DE
(199,152,222)
#CCA1E1
(204,161,225)
#D1AAE4
(209,170,228)
#D6B3E7
(214,179,231)
#DBBCEA
(219,188,234)
#E0C5ED
(224,197,237)
#E5CEF0
(229,206,240)
#EAD7F3
(234,215,243)
#EFE0F6
(239,224,246)
#F4E9F9
(244,233,249)
#F9F2FC
(249,242,252)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #C798DE; }

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

This text font color is #C798DE.


Background Color

.myBgColor { background-color: #C798DE; }

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

This div background color is #C798DE.


Border color

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

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

This div border color is #C798DE.


Opacity

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

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

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

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

This text has shadow with #C798DE color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C798DE on black background.


Color preview on white background

This text has color #C798DE on white background.



Black color preview on #C798DE background

This text has black color on #C798DE background.


White color preview on #C798DE background

This text has white color on #C798DE background.