COLOR #9898DB

HEX: #9898DB
RGB: (152,152,219)

Color info

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

RGB color model

#9898DB color RGB value is (152,152,219).

  • red value is 152;
  • green value is 152;
  • blue value is 219.
RGB:
(152,152,219)
(60%,60%,86%)

RGB channels and saturation

R 152 of 255 = 60%
G 152 of 255 = 60%
B 219 of 255 = 86%

152
152
219

R + G + B ~ 69%. #9898DB is quite light color.

Portions of RGB colors in percentages

R + G + B =
152 + 152 + 219 = 523 (100%)
R 152 of 523 ~ 29.06%
G 152 of 523 ~ 29.06%
B 219 of 523 ~ 41.87%

%29.06
%29.06
%41.87

CMYK color model

#9898DB color CMYK value is (31,31,0,14).

  • cyan value is 30.59%
  • magenta value is 30.59%
  • yellow value is 0.00%
  • key color value is 14.12%
CMYK:
(31,31,0,14)
C31M31Y0K14 
(31%,31%,0%,14%)
(0.31/0.31/0.00/0.14)	

CMYK percentages

%30.59
%30.59
%0
%14.12

Codes

Color #9898DB in popluar color models

9898DB
RGB152152219
HSL240°48.20%72.75%
HSB/HSV240°30.59%85.88%
CMYK30.59%30.59%0.00%
14.12%

Color #9898DB in popluar number systems.

HEX9898DB
Decimal152152219
Binary100110001001100011011011
Octal230230333

Shades and tints

Shades of #9898DB

#9898DB
(152,152,219)
#8B8BC8
(139,139,200)
#7E7EB5
(126,126,181)
#7171A2
(113,113,162)
#64648F
(100,100,143)
#57577C
(87,87,124)
#4A4A69
(74,74,105)
#3D3D56
(61,61,86)
#303043
(48,48,67)
#232330
(35,35,48)
#16161D
(22,22,29)
#000000
(0,0,0)

Tints of #9898DB

#9898DB
(152,152,219)
#A1A1DE
(161,161,222)
#AAAAE1
(170,170,225)
#B3B3E4
(179,179,228)
#BCBCE7
(188,188,231)
#C5C5EA
(197,197,234)
#CECEED
(206,206,237)
#D7D7F0
(215,215,240)
#E0E0F3
(224,224,243)
#E9E9F6
(233,233,246)
#F2F2F9
(242,242,249)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9898DB color. Also use rgb(152,152,219) instead hex code.

Text Font Color

.myTextColor { color: #9898DB; }

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

This text font color is #9898DB.


Background Color

.myBgColor { background-color: #9898DB; }

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

This div background color is #9898DB.


Border color

.myBorderColor { border: 1px solid #9898DB; }

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

This div border color is #9898DB.


Opacity

.myOpacity80 { color: #9898DB; opacity: 0.8; }

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

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

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

This text has shadow with #9898DB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9898DB on black background.


Color preview on white background

This text has color #9898DB on white background.



Black color preview on #9898DB background

This text has black color on #9898DB background.


White color preview on #9898DB background

This text has white color on #9898DB background.