COLOR #664B8C

HEX: #664B8C
RGB: (102,75,140)

Color info

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

RGB color model

#664B8C color RGB value is (102,75,140).

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

RGB channels and saturation

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

102
75
140

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

Portions of RGB colors in percentages

R + G + B =
102 + 75 + 140 = 317 (100%)
R 102 of 317 ~ 32.18%
G 75 of 317 ~ 23.66%
B 140 of 317 ~ 44.16%

%32.18
%23.66
%44.16

CMYK color model

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

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

CMYK percentages

%27.14
%46.43
%0
%45.1

Codes

Color #664B8C in popluar color models

664B8C
RGB10275140
HSL265°30.23%42.16%
HSB/HSV265°46.43%54.90%
CMYK27.14%46.43%0.00%
45.10%

Color #664B8C in popluar number systems.

HEX664B8C
Decimal10275140
Binary1100110100101110001100
Octal146113214

Shades and tints

Shades of #664B8C

#664B8C
(102,75,140)
#5D4580
(93,69,128)
#543F74
(84,63,116)
#4B3968
(75,57,104)
#42335C
(66,51,92)
#392D50
(57,45,80)
#302744
(48,39,68)
#272138
(39,33,56)
#1E1B2C
(30,27,44)
#151520
(21,21,32)
#0C0F14
(12,15,20)
#000000
(0,0,0)

Tints of #664B8C

#664B8C
(102,75,140)
#735B96
(115,91,150)
#806BA0
(128,107,160)
#8D7BAA
(141,123,170)
#9A8BB4
(154,139,180)
#A79BBE
(167,155,190)
#B4ABC8
(180,171,200)
#C1BBD2
(193,187,210)
#CECBDC
(206,203,220)
#DBDBE6
(219,219,230)
#E8EBF0
(232,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #664B8C; }

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

This text font color is #664B8C.


Background Color

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

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

This div background color is #664B8C.


Border color

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

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

This div border color is #664B8C.


Opacity

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

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

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

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

This text has shadow with #664B8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #664B8C on black background.


Color preview on white background

This text has color #664B8C on white background.



Black color preview on #664B8C background

This text has black color on #664B8C background.


White color preview on #664B8C background

This text has white color on #664B8C background.