COLOR #6A51A6

HEX: #6A51A6
RGB: (106,81,166)

Color info

#6A51A6 contains mainly blue color. Web safe color of #6A51A6 is #666699 (or #669).

RGB color model

#6A51A6 color RGB value is (106,81,166).

  • red value is 106;
  • green value is 81;
  • blue value is 166.
RGB:
(106,81,166)
(42%,32%,65%)

RGB channels and saturation

R 106 of 255 = 42%
G 81 of 255 = 32%
B 166 of 255 = 65%

106
81
166

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

Portions of RGB colors in percentages

R + G + B =
106 + 81 + 166 = 353 (100%)
R 106 of 353 ~ 30.03%
G 81 of 353 ~ 22.95%
B 166 of 353 ~ 47.03%

%30.03
%22.95
%47.03

CMYK color model

#6A51A6 color CMYK value is (36,51,0,35).

  • cyan value is 36.14%
  • magenta value is 51.20%
  • yellow value is 0.00%
  • key color value is 34.90%
CMYK:
(36,51,0,35)
C36M51Y0K35 
(36%,51%,0%,35%)
(0.36/0.51/0.00/0.35)	

CMYK percentages

%36.14
%51.2
%0
%34.9

Codes

Color #6A51A6 in popluar color models

6A51A6
RGB10681166
HSL258°34.41%48.43%
HSB/HSV258°51.20%65.10%
CMYK36.14%51.20%0.00%
34.90%

Color #6A51A6 in popluar number systems.

HEX6A51A6
Decimal10681166
Binary1101010101000110100110
Octal152121246

Shades and tints

Shades of #6A51A6

#6A51A6
(106,81,166)
#614A97
(97,74,151)
#584388
(88,67,136)
#4F3C79
(79,60,121)
#46356A
(70,53,106)
#3D2E5B
(61,46,91)
#34274C
(52,39,76)
#2B203D
(43,32,61)
#22192E
(34,25,46)
#19121F
(25,18,31)
#100B10
(16,11,16)
#000000
(0,0,0)

Tints of #6A51A6

#6A51A6
(106,81,166)
#7760AE
(119,96,174)
#846FB6
(132,111,182)
#917EBE
(145,126,190)
#9E8DC6
(158,141,198)
#AB9CCE
(171,156,206)
#B8ABD6
(184,171,214)
#C5BADE
(197,186,222)
#D2C9E6
(210,201,230)
#DFD8EE
(223,216,238)
#ECE7F6
(236,231,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6A51A6 color. Also use rgb(106,81,166) instead hex code.

Text Font Color

.myTextColor { color: #6A51A6; }

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

This text font color is #6A51A6.


Background Color

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

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

This div background color is #6A51A6.


Border color

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

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

This div border color is #6A51A6.


Opacity

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

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

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

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

This text has shadow with #6A51A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6A51A6 on black background.


Color preview on white background

This text has color #6A51A6 on white background.



Black color preview on #6A51A6 background

This text has black color on #6A51A6 background.


White color preview on #6A51A6 background

This text has white color on #6A51A6 background.