COLOR #9D8CCD

HEX: #9D8CCD
RGB: (157,140,205)

Color info

#9D8CCD contains mainly red and blue colors. Web safe color of #9D8CCD is #9999CC (or #99C).

RGB color model

#9D8CCD color RGB value is (157,140,205).

  • red value is 157;
  • green value is 140;
  • blue value is 205.
RGB:
(157,140,205)
(62%,55%,80%)

RGB channels and saturation

R 157 of 255 = 62%
G 140 of 255 = 55%
B 205 of 255 = 80%

157
140
205

R + G + B ~ 66%. #9D8CCD is quite light color.

Portions of RGB colors in percentages

R + G + B =
157 + 140 + 205 = 502 (100%)
R 157 of 502 ~ 31.27%
G 140 of 502 ~ 27.89%
B 205 of 502 ~ 40.84%

%31.27
%27.89
%40.84

CMYK color model

#9D8CCD color CMYK value is (23,32,0,20).

  • cyan value is 23.41%
  • magenta value is 31.71%
  • yellow value is 0.00%
  • key color value is 19.61%
CMYK:
(23,32,0,20)
C23M32Y0K20 
(23%,32%,0%,20%)
(0.23/0.32/0.00/0.20)	

CMYK percentages

%23.41
%31.71
%0
%19.61

Codes

Color #9D8CCD in popluar color models

9D8CCD
RGB157140205
HSL256°39.39%67.65%
HSB/HSV256°31.71%80.39%
CMYK23.41%31.71%0.00%
19.61%

Color #9D8CCD in popluar number systems.

HEX9D8CCD
Decimal157140205
Binary100111011000110011001101
Octal235214315

Shades and tints

Shades of #9D8CCD

#9D8CCD
(157,140,205)
#8F80BB
(143,128,187)
#8174A9
(129,116,169)
#736897
(115,104,151)
#655C85
(101,92,133)
#575073
(87,80,115)
#494461
(73,68,97)
#3B384F
(59,56,79)
#2D2C3D
(45,44,61)
#1F202B
(31,32,43)
#111419
(17,20,25)
#000000
(0,0,0)

Tints of #9D8CCD

#9D8CCD
(157,140,205)
#A596D1
(165,150,209)
#ADA0D5
(173,160,213)
#B5AAD9
(181,170,217)
#BDB4DD
(189,180,221)
#C5BEE1
(197,190,225)
#CDC8E5
(205,200,229)
#D5D2E9
(213,210,233)
#DDDCED
(221,220,237)
#E5E6F1
(229,230,241)
#EDF0F5
(237,240,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D8CCD color. Also use rgb(157,140,205) instead hex code.

Text Font Color

.myTextColor { color: #9D8CCD; }

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

This text font color is #9D8CCD.


Background Color

.myBgColor { background-color: #9D8CCD; }

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

This div background color is #9D8CCD.


Border color

.myBorderColor { border: 1px solid #9D8CCD; }

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

This div border color is #9D8CCD.


Opacity

.myOpacity80 { color: #9D8CCD; opacity: 0.8; }

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

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

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

This text has shadow with #9D8CCD color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D8CCD on black background.


Color preview on white background

This text has color #9D8CCD on white background.



Black color preview on #9D8CCD background

This text has black color on #9D8CCD background.


White color preview on #9D8CCD background

This text has white color on #9D8CCD background.