COLOR #9A8CD7

HEX: #9A8CD7
RGB: (154,140,215)

Color info

#9A8CD7 contains mainly blue color. Web safe color of #9A8CD7 is #9999CC (or #99C).

RGB color model

#9A8CD7 color RGB value is (154,140,215).

  • red value is 154;
  • green value is 140;
  • blue value is 215.
RGB:
(154,140,215)
(60%,55%,84%)

RGB channels and saturation

R 154 of 255 = 60%
G 140 of 255 = 55%
B 215 of 255 = 84%

154
140
215

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

Portions of RGB colors in percentages

R + G + B =
154 + 140 + 215 = 509 (100%)
R 154 of 509 ~ 30.26%
G 140 of 509 ~ 27.5%
B 215 of 509 ~ 42.24%

%30.26
%27.5
%42.24

CMYK color model

#9A8CD7 color CMYK value is (28,35,0,16).

  • cyan value is 28.37%
  • magenta value is 34.88%
  • yellow value is 0.00%
  • key color value is 15.69%
CMYK:
(28,35,0,16)
C28M35Y0K16 
(28%,35%,0%,16%)
(0.28/0.35/0.00/0.16)	

CMYK percentages

%28.37
%34.88
%0
%15.69

Codes

Color #9A8CD7 in popluar color models

9A8CD7
RGB154140215
HSL251°48.39%69.61%
HSB/HSV251°34.88%84.31%
CMYK28.37%34.88%0.00%
15.69%

Color #9A8CD7 in popluar number systems.

HEX9A8CD7
Decimal154140215
Binary100110101000110011010111
Octal232214327

Shades and tints

Shades of #9A8CD7

#9A8CD7
(154,140,215)
#8C80C4
(140,128,196)
#7E74B1
(126,116,177)
#70689E
(112,104,158)
#625C8B
(98,92,139)
#545078
(84,80,120)
#464465
(70,68,101)
#383852
(56,56,82)
#2A2C3F
(42,44,63)
#1C202C
(28,32,44)
#0E1419
(14,20,25)
#000000
(0,0,0)

Tints of #9A8CD7

#9A8CD7
(154,140,215)
#A396DA
(163,150,218)
#ACA0DD
(172,160,221)
#B5AAE0
(181,170,224)
#BEB4E3
(190,180,227)
#C7BEE6
(199,190,230)
#D0C8E9
(208,200,233)
#D9D2EC
(217,210,236)
#E2DCEF
(226,220,239)
#EBE6F2
(235,230,242)
#F4F0F5
(244,240,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9A8CD7 color. Also use rgb(154,140,215) instead hex code.

Text Font Color

.myTextColor { color: #9A8CD7; }

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

This text font color is #9A8CD7.


Background Color

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

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

This div background color is #9A8CD7.


Border color

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

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

This div border color is #9A8CD7.


Opacity

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

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

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

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

This text has shadow with #9A8CD7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A8CD7 on black background.


Color preview on white background

This text has color #9A8CD7 on white background.



Black color preview on #9A8CD7 background

This text has black color on #9A8CD7 background.


White color preview on #9A8CD7 background

This text has white color on #9A8CD7 background.