COLOR #6B40A6

HEX: #6B40A6 RGB: (107,64,166)

Color info

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

RGB color model

#6B40A6 color RGB value is (107,64,166).

RGB: (107,64,166) (42%, 25%, 65%)

RGB channels and saturation

R 107 of 255 = 42%
G 64 of 255 = 25%
B 166 of 255 = 65%

107
64
166

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

Portions of RGB colors in percentages

R + G + B = 107 + 64 + 166 = 337 (100%)
R 107 of 337 ~ 31.75%
G 64 of 337 ~ 18.99%
B 166 of 337 ~ 49.26'%

%31.75
%18.99
%49.26

CMYK color model

#6B40A6 color CMYK value is (36,61,0,35).

  • cyan value is 35.54%
  • magenta value is 61.45%
  • yellow value is 0.00%
  • key color value is 34.90%

CMYK: (36,61,0,35)
C36M61Y0K35 (36%, 61%, 0%, 35%)
(0.36 / 0.61 / 0.00 / 0.35)

CMYK percentages

%35.54
%61.45
%0
%34.9

Codes

Color #6B40A6 in popluar color models

6B 40 A6
RGB 107 64 166
HSL 265° 44.35% 45.10%
HSB/HSV 265° 61.45% 65.10%
CMYK 35.54% 61.45% 0.00%
34.90%

Color #6B40A6 in popluar number systems.

HEX 6B 40 A6
Decimal 107 64 166
Binary 1101011 1000000 10100110
Octal 153 100 246

Shades and tints

Shades of #6B40A6

#6B40A6
(107,64,166)
#623B97
(98,59,151)
#593688
(89,54,136)
#503179
(80,49,121)
#472C6A
(71,44,106)
#3E275B
(62,39,91)
#35224C
(53,34,76)
#2C1D3D
(44,29,61)
#23182E
(35,24,46)
#1A131F
(26,19,31)
#110E10
(17,14,16)
#000000
(0,0,0)

Tints of #6B40A6

#6B40A6
(107,64,166)
#7851AE
(120,81,174)
#8562B6
(133,98,182)
#9273BE
(146,115,190)
#9F84C6
(159,132,198)
#AC95CE
(172,149,206)
#B9A6D6
(185,166,214)
#C6B7DE
(198,183,222)
#D3C8E6
(211,200,230)
#E0D9EE
(224,217,238)
#EDEAF6
(237,234,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6B40A6 color. Also use rgb(107,64,166) instead hex code.

Text Font Color

.myTextColor { color: #6B40A6; }

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

This text font color is #6B40A6.

Background Color

.myBgColor { background-color: #6B40A6; }

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

This div background color is #6B40A6.

Border color

.myBorderColor { border: 1px solid #6B40A6; }

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

This div border color is #6B40A6.

Opacity

.myOpacity80 { color: #6B40A6; opacity: 0.8; }

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

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

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

This text has shadow with #6B40A6 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #6B40A6.

Preview

Color preview on black background

This text has color #6B40A6 on black background.


Color preview on white background

This text has color #6B40A6 on white background.


Black color preview on #6B40A6 background

This text has black color on #6B40A6 background.


White color preview on #6B40A6 background

This text has white color on #6B40A6 background.


Related colors

Complementary color

Complementary color for #hex is #94BF59.


I love getcolorcode.com

Triadic colors

1 #A66B40 and #40A66B with #6B40A6 are triadic colors.

2 #A6406B and #406BA6 with #6B40A6 are triadic colors.