COLOR #9C8ECB

HEX: #9C8ECB
RGB: (156,142,203)

Color info

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

RGB color model

#9C8ECB color RGB value is (156,142,203).

  • red value is 156;
  • green value is 142;
  • blue value is 203.
RGB:
(156,142,203)
(61%,56%,80%)

RGB channels and saturation

R 156 of 255 = 61%
G 142 of 255 = 56%
B 203 of 255 = 80%

156
142
203

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

Portions of RGB colors in percentages

R + G + B =
156 + 142 + 203 = 501 (100%)
R 156 of 501 ~ 31.14%
G 142 of 501 ~ 28.34%
B 203 of 501 ~ 40.52%

%31.14
%28.34
%40.52

CMYK color model

#9C8ECB color CMYK value is (23,30,0,20).

  • cyan value is 23.15%
  • magenta value is 30.05%
  • yellow value is 0.00%
  • key color value is 20.39%
CMYK:
(23,30,0,20)
C23M30Y0K20 
(23%,30%,0%,20%)
(0.23/0.30/0.00/0.20)	

CMYK percentages

%23.15
%30.05
%0
%20.39

Codes

Color #9C8ECB in popluar color models

9C8ECB
RGB156142203
HSL254°36.97%67.65%
HSB/HSV254°30.05%79.61%
CMYK23.15%30.05%0.00%
20.39%

Color #9C8ECB in popluar number systems.

HEX9C8ECB
Decimal156142203
Binary100111001000111011001011
Octal234216313

Shades and tints

Shades of #9C8ECB

#9C8ECB
(156,142,203)
#8E82B9
(142,130,185)
#8076A7
(128,118,167)
#726A95
(114,106,149)
#645E83
(100,94,131)
#565271
(86,82,113)
#48465F
(72,70,95)
#3A3A4D
(58,58,77)
#2C2E3B
(44,46,59)
#1E2229
(30,34,41)
#101617
(16,22,23)
#000000
(0,0,0)

Tints of #9C8ECB

#9C8ECB
(156,142,203)
#A598CF
(165,152,207)
#AEA2D3
(174,162,211)
#B7ACD7
(183,172,215)
#C0B6DB
(192,182,219)
#C9C0DF
(201,192,223)
#D2CAE3
(210,202,227)
#DBD4E7
(219,212,231)
#E4DEEB
(228,222,235)
#EDE8EF
(237,232,239)
#F6F2F3
(246,242,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9C8ECB color. Also use rgb(156,142,203) instead hex code.

Text Font Color

.myTextColor { color: #9C8ECB; }

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

This text font color is #9C8ECB.


Background Color

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

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

This div background color is #9C8ECB.


Border color

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

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

This div border color is #9C8ECB.


Opacity

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

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

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

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

This text has shadow with #9C8ECB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9C8ECB on black background.


Color preview on white background

This text has color #9C8ECB on white background.



Black color preview on #9C8ECB background

This text has black color on #9C8ECB background.


White color preview on #9C8ECB background

This text has white color on #9C8ECB background.