COLOR #664B8B

HEX: #664B8B
RGB: (102,75,139)

Color info

#664B8B contains mainly red and blue colors. Web safe color of #664B8B is #663399 (or #639).

RGB color model

#664B8B color RGB value is (102,75,139).

  • red value is 102;
  • green value is 75;
  • blue value is 139.
RGB:
(102,75,139)
(40%,29%,55%)

RGB channels and saturation

R 102 of 255 = 40%
G 75 of 255 = 29%
B 139 of 255 = 55%

102
75
139

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

Portions of RGB colors in percentages

R + G + B =
102 + 75 + 139 = 316 (100%)
R 102 of 316 ~ 32.28%
G 75 of 316 ~ 23.73%
B 139 of 316 ~ 43.99%

%32.28
%23.73
%43.99

CMYK color model

#664B8B color CMYK value is (27,46,0,45).

  • cyan value is 26.62%
  • magenta value is 46.04%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(27,46,0,45)
C27M46Y0K45 
(27%,46%,0%,45%)
(0.27/0.46/0.00/0.45)	

CMYK percentages

%26.62
%46.04
%0
%45.49

Codes

Color #664B8B in popluar color models

664B8B
RGB10275139
HSL265°29.91%41.96%
HSB/HSV265°46.04%54.51%
CMYK26.62%46.04%0.00%
45.49%

Color #664B8B in popluar number systems.

HEX664B8B
Decimal10275139
Binary1100110100101110001011
Octal146113213

Shades and tints

Shades of #664B8B

#664B8B
(102,75,139)
#5D457F
(93,69,127)
#543F73
(84,63,115)
#4B3967
(75,57,103)
#42335B
(66,51,91)
#392D4F
(57,45,79)
#302743
(48,39,67)
#272137
(39,33,55)
#1E1B2B
(30,27,43)
#15151F
(21,21,31)
#0C0F13
(12,15,19)
#000000
(0,0,0)

Tints of #664B8B

#664B8B
(102,75,139)
#735B95
(115,91,149)
#806B9F
(128,107,159)
#8D7BA9
(141,123,169)
#9A8BB3
(154,139,179)
#A79BBD
(167,155,189)
#B4ABC7
(180,171,199)
#C1BBD1
(193,187,209)
#CECBDB
(206,203,219)
#DBDBE5
(219,219,229)
#E8EBEF
(232,235,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #664B8B color. Also use rgb(102,75,139) instead hex code.

Text Font Color

.myTextColor { color: #664B8B; }

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

This text font color is #664B8B.


Background Color

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

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

This div background color is #664B8B.


Border color

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

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

This div border color is #664B8B.


Opacity

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

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

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

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

This text has shadow with #664B8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #664B8B on black background.


Color preview on white background

This text has color #664B8B on white background.



Black color preview on #664B8B background

This text has black color on #664B8B background.


White color preview on #664B8B background

This text has white color on #664B8B background.