COLOR #664E9B

HEX: #664E9B
RGB: (102,78,155)

Color info

#664E9B contains mainly red and blue colors. Web safe color of #664E9B is #666699 (or #669).

RGB color model

#664E9B color RGB value is (102,78,155).

  • red value is 102;
  • green value is 78;
  • blue value is 155.
RGB:
(102,78,155)
(40%,31%,61%)

RGB channels and saturation

R 102 of 255 = 40%
G 78 of 255 = 31%
B 155 of 255 = 61%

102
78
155

R + G + B ~ 44%. #664E9B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
102 + 78 + 155 = 335 (100%)
R 102 of 335 ~ 30.45%
G 78 of 335 ~ 23.28%
B 155 of 335 ~ 46.27%

%30.45
%23.28
%46.27

CMYK color model

#664E9B color CMYK value is (34,50,0,39).

  • cyan value is 34.19%
  • magenta value is 49.68%
  • yellow value is 0.00%
  • key color value is 39.22%
CMYK:
(34,50,0,39)
C34M50Y0K39 
(34%,50%,0%,39%)
(0.34/0.50/0.00/0.39)	

CMYK percentages

%34.19
%49.68
%0
%39.22

Codes

Color #664E9B in popluar color models

664E9B
RGB10278155
HSL259°33.05%45.69%
HSB/HSV259°49.68%60.78%
CMYK34.19%49.68%0.00%
39.22%

Color #664E9B in popluar number systems.

HEX664E9B
Decimal10278155
Binary1100110100111010011011
Octal146116233

Shades and tints

Shades of #664E9B

#664E9B
(102,78,155)
#5D478D
(93,71,141)
#54407F
(84,64,127)
#4B3971
(75,57,113)
#423263
(66,50,99)
#392B55
(57,43,85)
#302447
(48,36,71)
#271D39
(39,29,57)
#1E162B
(30,22,43)
#150F1D
(21,15,29)
#0C080F
(12,8,15)
#000000
(0,0,0)

Tints of #664E9B

#664E9B
(102,78,155)
#735EA4
(115,94,164)
#806EAD
(128,110,173)
#8D7EB6
(141,126,182)
#9A8EBF
(154,142,191)
#A79EC8
(167,158,200)
#B4AED1
(180,174,209)
#C1BEDA
(193,190,218)
#CECEE3
(206,206,227)
#DBDEEC
(219,222,236)
#E8EEF5
(232,238,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #664E9B color. Also use rgb(102,78,155) instead hex code.

Text Font Color

.myTextColor { color: #664E9B; }

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

This text font color is #664E9B.


Background Color

.myBgColor { background-color: #664E9B; }

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

This div background color is #664E9B.


Border color

.myBorderColor { border: 1px solid #664E9B; }

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

This div border color is #664E9B.


Opacity

.myOpacity80 { color: #664E9B; opacity: 0.8; }

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

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

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

This text has shadow with #664E9B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #664E9B on black background.


Color preview on white background

This text has color #664E9B on white background.



Black color preview on #664E9B background

This text has black color on #664E9B background.


White color preview on #664E9B background

This text has white color on #664E9B background.