COLOR #C5A1E5

HEX: #C5A1E5
RGB: (197,161,229)

Color info

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

RGB color model

#C5A1E5 color RGB value is (197,161,229).

  • red value is 197;
  • green value is 161;
  • blue value is 229.
RGB:
(197,161,229)
(77%,63%,90%)

RGB channels and saturation

R 197 of 255 = 77%
G 161 of 255 = 63%
B 229 of 255 = 90%

197
161
229

R + G + B ~ 77%. #C5A1E5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
197 + 161 + 229 = 587 (100%)
R 197 of 587 ~ 33.56%
G 161 of 587 ~ 27.43%
B 229 of 587 ~ 39.01%

%33.56
%27.43
%39.01

CMYK color model

#C5A1E5 color CMYK value is (14,30,0,10).

  • cyan value is 13.97%
  • magenta value is 29.69%
  • yellow value is 0.00%
  • key color value is 10.20%
CMYK:
(14,30,0,10)
C14M30Y0K10 
(14%,30%,0%,10%)
(0.14/0.30/0.00/0.10)	

CMYK percentages

%13.97
%29.69
%0
%10.2

Codes

Color #C5A1E5 in popluar color models

C5A1E5
RGB197161229
HSL272°56.67%76.47%
HSB/HSV272°29.69%89.80%
CMYK13.97%29.69%0.00%
10.20%

Color #C5A1E5 in popluar number systems.

HEXC5A1E5
Decimal197161229
Binary110001011010000111100101
Octal305241345

Shades and tints

Shades of #C5A1E5

#C5A1E5
(197,161,229)
#B493D1
(180,147,209)
#A385BD
(163,133,189)
#9277A9
(146,119,169)
#816995
(129,105,149)
#705B81
(112,91,129)
#5F4D6D
(95,77,109)
#4E3F59
(78,63,89)
#3D3145
(61,49,69)
#2C2331
(44,35,49)
#1B151D
(27,21,29)
#000000
(0,0,0)

Tints of #C5A1E5

#C5A1E5
(197,161,229)
#CAA9E7
(202,169,231)
#CFB1E9
(207,177,233)
#D4B9EB
(212,185,235)
#D9C1ED
(217,193,237)
#DEC9EF
(222,201,239)
#E3D1F1
(227,209,241)
#E8D9F3
(232,217,243)
#EDE1F5
(237,225,245)
#F2E9F7
(242,233,247)
#F7F1F9
(247,241,249)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C5A1E5 color. Also use rgb(197,161,229) instead hex code.

Text Font Color

.myTextColor { color: #C5A1E5; }

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

This text font color is #C5A1E5.


Background Color

.myBgColor { background-color: #C5A1E5; }

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

This div background color is #C5A1E5.


Border color

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

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

This div border color is #C5A1E5.


Opacity

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

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

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

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

This text has shadow with #C5A1E5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C5A1E5 on black background.


Color preview on white background

This text has color #C5A1E5 on white background.



Black color preview on #C5A1E5 background

This text has black color on #C5A1E5 background.


White color preview on #C5A1E5 background

This text has white color on #C5A1E5 background.