COLOR #665797

HEX: #665797 RGB: (102,87,151)

Color info

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

RGB color model

#665797 color RGB value is (102,87,151).

RGB: (102,87,151) (40%, 34%, 59%)

RGB channels and saturation

R 102 of 255 = 40%
G 87 of 255 = 34%
B 151 of 255 = 59%

102
87
151

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

Portions of RGB colors in percentages

R + G + B = 102 + 87 + 151 = 340 (100%)
R 102 of 340 ~ 30%
G 87 of 340 ~ 25.59%
B 151 of 340 ~ 44.41'%

%30
%25.59
%44.41

CMYK color model

#665797 color CMYK value is (32,42,0,41).

  • cyan value is 32.45%
  • magenta value is 42.38%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK: (32,42,0,41) C32M42Y0K41 (32%,42%,0%,41%) (0.32/0.42/0.00/0.41) 

CMYK percentages

%32.45
%42.38
%0
%40.78

Codes

Color #665797 in popluar color models

66 57 97
RGB 102 87 151
HSL 254° 26.89% 46.67%
HSB/HSV 254° 42.38% 59.22%
CMYK 32.45% 42.38% 0.00%
40.78%

Color #665797 in popluar number systems.

HEX 66 57 97
Decimal 102 87 151
Binary 1100110 1010111 10010111
Octal 146 127 227

Shades and tints

Shades of #665797

#665797
(102,87,151)
#5D508A
(93,80,138)
#54497D
(84,73,125)
#4B4270
(75,66,112)
#423B63
(66,59,99)
#393456
(57,52,86)
#302D49
(48,45,73)
#27263C
(39,38,60)
#1E1F2F
(30,31,47)
#151822
(21,24,34)
#0C1115
(12,17,21)
#000000
(0,0,0)

Tints of #665797

#665797
(102,87,151)
#7366A0
(115,102,160)
#8075A9
(128,117,169)
#8D84B2
(141,132,178)
#9A93BB
(154,147,187)
#A7A2C4
(167,162,196)
#B4B1CD
(180,177,205)
#C1C0D6
(193,192,214)
#CECFDF
(206,207,223)
#DBDEE8
(219,222,232)
#E8EDF1
(232,237,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #665797 color. Also use rgb(102,87,151) instead hex code.

Text Font Color

.myTextColor { color: #665797; }

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

This text font color is #665797.

Background Color

.myBgColor { background-color: #665797; }

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

This div background color is #665797.

Border color

.myBorderColor { border: 1px solid #665797; }

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

This div border color is #665797.

Opacity

.myOpacity80 { color: #665797; opacity: 0.8; }

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

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

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

This text has shadow with #665797 color.


.textShadow {text-shadow: 3px 3px 1px #665797', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #665797; -webkit-box-shadow: 1px 1px 3px 2px #665797; box-shadow:1px 1px 3px 2px #665797;">
Div content here
</div>

This div box has shadow with color #665797.

Preview

Color preview on black background

This text has color #665797 on black background.


Color preview on white background

This text has color #665797 on white background.


Black color preview on #665797 background

This text has black color on #665797 background.


White color preview on #665797 background

This text has white color on #665797 background.


Related colors

Complementary color

Complementary color for #hex is #99A868.


I love getcolorcode.com

Triadic colors

1 #976657 and #579766 with #665797 are triadic colors.

2 #975766 and #576697 with #665797 are triadic colors.