COLOR #462A8A

HEX: #462A8A
RGB: (70,42,138)

Color info

#462A8A contains mainly blue color. Web safe color of #462A8A is #333399 (or #339).

RGB color model

#462A8A color RGB value is (70,42,138).

  • red value is 70;
  • green value is 42;
  • blue value is 138.
RGB:
(70,42,138)
(27%,16%,54%)

RGB channels and saturation

R 70 of 255 = 27%
G 42 of 255 = 16%
B 138 of 255 = 54%

70
42
138

R + G + B ~ 32%. #462A8A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
70 + 42 + 138 = 250 (100%)
R 70 of 250 ~ 28%
G 42 of 250 ~ 16.8%
B 138 of 250 ~ 55.2%

%28
%16.8
%55.2

CMYK color model

#462A8A color CMYK value is (49,70,0,46).

  • cyan value is 49.28%
  • magenta value is 69.57%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(49,70,0,46)
C49M70Y0K46 
(49%,70%,0%,46%)
(0.49/0.70/0.00/0.46)	

CMYK percentages

%49.28
%69.57
%0
%45.88

Codes

Color #462A8A in popluar color models

462A8A
RGB7042138
HSL258°53.33%35.29%
HSB/HSV258°69.57%54.12%
CMYK49.28%69.57%0.00%
45.88%

Color #462A8A in popluar number systems.

HEX462A8A
Decimal7042138
Binary100011010101010001010
Octal10652212

Shades and tints

Shades of #462A8A

#462A8A
(70,42,138)
#40277E
(64,39,126)
#3A2472
(58,36,114)
#342166
(52,33,102)
#2E1E5A
(46,30,90)
#281B4E
(40,27,78)
#221842
(34,24,66)
#1C1536
(28,21,54)
#16122A
(22,18,42)
#100F1E
(16,15,30)
#0A0C12
(10,12,18)
#000000
(0,0,0)

Tints of #462A8A

#462A8A
(70,42,138)
#563D94
(86,61,148)
#66509E
(102,80,158)
#7663A8
(118,99,168)
#8676B2
(134,118,178)
#9689BC
(150,137,188)
#A69CC6
(166,156,198)
#B6AFD0
(182,175,208)
#C6C2DA
(198,194,218)
#D6D5E4
(214,213,228)
#E6E8EE
(230,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #462A8A color. Also use rgb(70,42,138) instead hex code.

Text Font Color

.myTextColor { color: #462A8A; }

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

This text font color is #462A8A.


Background Color

.myBgColor { background-color: #462A8A; }

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

This div background color is #462A8A.


Border color

.myBorderColor { border: 1px solid #462A8A; }

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

This div border color is #462A8A.


Opacity

.myOpacity80 { color: #462A8A; opacity: 0.8; }

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

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

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

This text has shadow with #462A8A color.

.textShadow {text-shadow: 3px 3px 1px #462A8A, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #462A8A on black background.


Color preview on white background

This text has color #462A8A on white background.



Black color preview on #462A8A background

This text has black color on #462A8A background.


White color preview on #462A8A background

This text has white color on #462A8A background.