COLOR #340E9D

HEX: #340E9D
RGB: (52,14,157)

Color info

#340E9D contains mainly blue color. Web safe color of #340E9D is #330099 (or #309).

RGB color model

#340E9D color RGB value is (52,14,157).

  • red value is 52;
  • green value is 14;
  • blue value is 157.
RGB:
(52,14,157)
(20%,5%,62%)

RGB channels and saturation

R 52 of 255 = 20%
G 14 of 255 = 5%
B 157 of 255 = 62%

52
14
157

R + G + B ~ 29%. #340E9D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 14 + 157 = 223 (100%)
R 52 of 223 ~ 23.32%
G 14 of 223 ~ 6.28%
B 157 of 223 ~ 70.4%

%23.32
%70.4

CMYK color model

#340E9D color CMYK value is (67,91,0,38).

  • cyan value is 66.88%
  • magenta value is 91.08%
  • yellow value is 0.00%
  • key color value is 38.43%
CMYK:
(67,91,0,38)
C67M91Y0K38 
(67%,91%,0%,38%)
(0.67/0.91/0.00/0.38)	

CMYK percentages

%66.88
%91.08
%0
%38.43

Codes

Color #340E9D in popluar color models

340E9D
RGB5214157
HSL256°83.63%33.53%
HSB/HSV256°91.08%61.57%
CMYK66.88%91.08%0.00%
38.43%

Color #340E9D in popluar number systems.

HEX340E9D
Decimal5214157
Binary110100111010011101
Octal6416235

Shades and tints

Shades of #340E9D

#340E9D
(52,14,157)
#300D8F
(48,13,143)
#2C0C81
(44,12,129)
#280B73
(40,11,115)
#240A65
(36,10,101)
#200957
(32,9,87)
#1C0849
(28,8,73)
#18073B
(24,7,59)
#14062D
(20,6,45)
#10051F
(16,5,31)
#0C0411
(12,4,17)
#000000
(0,0,0)

Tints of #340E9D

#340E9D
(52,14,157)
#4623A5
(70,35,165)
#5838AD
(88,56,173)
#6A4DB5
(106,77,181)
#7C62BD
(124,98,189)
#8E77C5
(142,119,197)
#A08CCD
(160,140,205)
#B2A1D5
(178,161,213)
#C4B6DD
(196,182,221)
#D6CBE5
(214,203,229)
#E8E0ED
(232,224,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340E9D color. Also use rgb(52,14,157) instead hex code.

Text Font Color

.myTextColor { color: #340E9D; }

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

This text font color is #340E9D.


Background Color

.myBgColor { background-color: #340E9D; }

<div style="background-color:#340E9D">Inner text</div>

This div background color is #340E9D.


Border color

.myBorderColor { border: 1px solid #340E9D; }

<div style="border:3px solid #340E9D">Div</div>

This div border color is #340E9D.


Opacity

.myOpacity80 { color: #340E9D; opacity: 0.8; }

<p style="color:#340E9D;opacity:0.8;">80%</p>

Text with #340E9D 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 #340E9D;}

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

This text has shadow with #340E9D color.

.textShadow {text-shadow: 3px 3px 1px #340E9D, 3px 3px 1px red;}

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

This text has shadow with #340E9D primary color and red secondary color.


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

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

This text has shadow with #340E9D and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #340E9D on black background.


Color preview on white background

This text has color #340E9D on white background.



Black color preview on #340E9D background

This text has black color on #340E9D background.


White color preview on #340E9D background

This text has white color on #340E9D background.