COLOR #C786E4

HEX: #C786E4
RGB: (199,134,228)

Color info

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

RGB color model

#C786E4 color RGB value is (199,134,228).

  • red value is 199;
  • green value is 134;
  • blue value is 228.
RGB:
(199,134,228)
(78%,53%,89%)

RGB channels and saturation

R 199 of 255 = 78%
G 134 of 255 = 53%
B 228 of 255 = 89%

199
134
228

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

Portions of RGB colors in percentages

R + G + B =
199 + 134 + 228 = 561 (100%)
R 199 of 561 ~ 35.47%
G 134 of 561 ~ 23.89%
B 228 of 561 ~ 40.64%

%35.47
%23.89
%40.64

CMYK color model

#C786E4 color CMYK value is (13,41,0,11).

  • cyan value is 12.72%
  • magenta value is 41.23%
  • yellow value is 0.00%
  • key color value is 10.59%
CMYK:
(13,41,0,11)
C13M41Y0K11 
(13%,41%,0%,11%)
(0.13/0.41/0.00/0.11)	

CMYK percentages

%12.72
%41.23
%0
%10.59

Codes

Color #C786E4 in popluar color models

C786E4
RGB199134228
HSL281°63.51%70.98%
HSB/HSV281°41.23%89.41%
CMYK12.72%41.23%0.00%
10.59%

Color #C786E4 in popluar number systems.

HEXC786E4
Decimal199134228
Binary110001111000011011100100
Octal307206344

Shades and tints

Shades of #C786E4

#C786E4
(199,134,228)
#B57AD0
(181,122,208)
#A36EBC
(163,110,188)
#9162A8
(145,98,168)
#7F5694
(127,86,148)
#6D4A80
(109,74,128)
#5B3E6C
(91,62,108)
#493258
(73,50,88)
#372644
(55,38,68)
#251A30
(37,26,48)
#130E1C
(19,14,28)
#000000
(0,0,0)

Tints of #C786E4

#C786E4
(199,134,228)
#CC91E6
(204,145,230)
#D19CE8
(209,156,232)
#D6A7EA
(214,167,234)
#DBB2EC
(219,178,236)
#E0BDEE
(224,189,238)
#E5C8F0
(229,200,240)
#EAD3F2
(234,211,242)
#EFDEF4
(239,222,244)
#F4E9F6
(244,233,246)
#F9F4F8
(249,244,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C786E4 color. Also use rgb(199,134,228) instead hex code.

Text Font Color

.myTextColor { color: #C786E4; }

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

This text font color is #C786E4.


Background Color

.myBgColor { background-color: #C786E4; }

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

This div background color is #C786E4.


Border color

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

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

This div border color is #C786E4.


Opacity

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

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

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

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

This text has shadow with #C786E4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C786E4 on black background.


Color preview on white background

This text has color #C786E4 on white background.



Black color preview on #C786E4 background

This text has black color on #C786E4 background.


White color preview on #C786E4 background

This text has white color on #C786E4 background.