COLOR #8C6798

HEX: #8C6798
RGB: (140,103,152)

Color info

#8C6798 contains red, green and blue colors in about the same proportion. Web safe color of #8C6798 is #996699 (or #969).

RGB color model

#8C6798 color RGB value is (140,103,152).

  • red value is 140;
  • green value is 103;
  • blue value is 152.
RGB:
(140,103,152)
(55%,40%,60%)

RGB channels and saturation

R 140 of 255 = 55%
G 103 of 255 = 40%
B 152 of 255 = 60%

140
103
152

R + G + B ~ 52%. #8C6798 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
140 + 103 + 152 = 395 (100%)
R 140 of 395 ~ 35.44%
G 103 of 395 ~ 26.08%
B 152 of 395 ~ 38.48%

%35.44
%26.08
%38.48

CMYK color model

#8C6798 color CMYK value is (8,32,0,40).

  • cyan value is 7.89%
  • magenta value is 32.24%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(8,32,0,40)
C8M32Y0K40 
(8%,32%,0%,40%)
(0.08/0.32/0.00/0.40)	

CMYK percentages

%7.89
%32.24
%0
%40.39

Codes

Color #8C6798 in popluar color models

8C6798
RGB140103152
HSL285°19.22%50.00%
HSB/HSV285°32.24%59.61%
CMYK7.89%32.24%0.00%
40.39%

Color #8C6798 in popluar number systems.

HEX8C6798
Decimal140103152
Binary10001100110011110011000
Octal214147230

Shades and tints

Shades of #8C6798

#8C6798
(140,103,152)
#805E8B
(128,94,139)
#74557E
(116,85,126)
#684C71
(104,76,113)
#5C4364
(92,67,100)
#503A57
(80,58,87)
#44314A
(68,49,74)
#38283D
(56,40,61)
#2C1F30
(44,31,48)
#201623
(32,22,35)
#140D16
(20,13,22)
#000000
(0,0,0)

Tints of #8C6798

#8C6798
(140,103,152)
#9674A1
(150,116,161)
#A081AA
(160,129,170)
#AA8EB3
(170,142,179)
#B49BBC
(180,155,188)
#BEA8C5
(190,168,197)
#C8B5CE
(200,181,206)
#D2C2D7
(210,194,215)
#DCCFE0
(220,207,224)
#E6DCE9
(230,220,233)
#F0E9F2
(240,233,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C6798 color. Also use rgb(140,103,152) instead hex code.

Text Font Color

.myTextColor { color: #8C6798; }

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

This text font color is #8C6798.


Background Color

.myBgColor { background-color: #8C6798; }

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

This div background color is #8C6798.


Border color

.myBorderColor { border: 1px solid #8C6798; }

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

This div border color is #8C6798.


Opacity

.myOpacity80 { color: #8C6798; opacity: 0.8; }

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

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

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

This text has shadow with #8C6798 color.

.textShadow {text-shadow: 3px 3px 1px #8C6798, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8C6798 on black background.


Color preview on white background

This text has color #8C6798 on white background.



Black color preview on #8C6798 background

This text has black color on #8C6798 background.


White color preview on #8C6798 background

This text has white color on #8C6798 background.