COLOR #8C40D8

HEX: #8C40D8
RGB: (140,64,216)

Color info

#8C40D8 contains mainly blue color. Web safe color of #8C40D8 is #9933CC (or #93C).

RGB color model

#8C40D8 color RGB value is (140,64,216).

  • red value is 140;
  • green value is 64;
  • blue value is 216.
RGB:
(140,64,216)
(55%,25%,85%)

RGB channels and saturation

R 140 of 255 = 55%
G 64 of 255 = 25%
B 216 of 255 = 85%

140
64
216

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

Portions of RGB colors in percentages

R + G + B =
140 + 64 + 216 = 420 (100%)
R 140 of 420 ~ 33.33%
G 64 of 420 ~ 15.24%
B 216 of 420 ~ 51.43%

%33.33
%15.24
%51.43

CMYK color model

#8C40D8 color CMYK value is (35,70,0,15).

  • cyan value is 35.19%
  • magenta value is 70.37%
  • yellow value is 0.00%
  • key color value is 15.29%
CMYK:
(35,70,0,15)
C35M70Y0K15 
(35%,70%,0%,15%)
(0.35/0.70/0.00/0.15)	

CMYK percentages

%35.19
%70.37
%0
%15.29

Codes

Color #8C40D8 in popluar color models

8C40D8
RGB14064216
HSL270°66.09%54.90%
HSB/HSV270°70.37%84.71%
CMYK35.19%70.37%0.00%
15.29%

Color #8C40D8 in popluar number systems.

HEX8C40D8
Decimal14064216
Binary10001100100000011011000
Octal214100330

Shades and tints

Shades of #8C40D8

#8C40D8
(140,64,216)
#803BC5
(128,59,197)
#7436B2
(116,54,178)
#68319F
(104,49,159)
#5C2C8C
(92,44,140)
#502779
(80,39,121)
#442266
(68,34,102)
#381D53
(56,29,83)
#2C1840
(44,24,64)
#20132D
(32,19,45)
#140E1A
(20,14,26)
#000000
(0,0,0)

Tints of #8C40D8

#8C40D8
(140,64,216)
#9651DB
(150,81,219)
#A062DE
(160,98,222)
#AA73E1
(170,115,225)
#B484E4
(180,132,228)
#BE95E7
(190,149,231)
#C8A6EA
(200,166,234)
#D2B7ED
(210,183,237)
#DCC8F0
(220,200,240)
#E6D9F3
(230,217,243)
#F0EAF6
(240,234,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C40D8 color. Also use rgb(140,64,216) instead hex code.

Text Font Color

.myTextColor { color: #8C40D8; }

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

This text font color is #8C40D8.


Background Color

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

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

This div background color is #8C40D8.


Border color

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

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

This div border color is #8C40D8.


Opacity

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

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

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

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

This text has shadow with #8C40D8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8C40D8 on black background.


Color preview on white background

This text has color #8C40D8 on white background.



Black color preview on #8C40D8 background

This text has black color on #8C40D8 background.


White color preview on #8C40D8 background

This text has white color on #8C40D8 background.