COLOR #340D5E

HEX: #340D5E
RGB: (52,13,94)

Color info

#340D5E contains mainly red and blue colors. Web safe color of #340D5E is #330066 (or #306).

RGB color model

#340D5E color RGB value is (52,13,94).

  • red value is 52;
  • green value is 13;
  • blue value is 94.
RGB:
(52,13,94)
(20%,5%,37%)

RGB channels and saturation

R 52 of 255 = 20%
G 13 of 255 = 5%
B 94 of 255 = 37%

52
13
94

R + G + B ~ 21%. #340D5E is dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 13 + 94 = 159 (100%)
R 52 of 159 ~ 32.7%
G 13 of 159 ~ 8.18%
B 94 of 159 ~ 59.12%

%32.7
%59.12

CMYK color model

#340D5E color CMYK value is (45,86,0,63).

  • cyan value is 44.68%
  • magenta value is 86.17%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(45,86,0,63)
C45M86Y0K63 
(45%,86%,0%,63%)
(0.45/0.86/0.00/0.63)	

CMYK percentages

%44.68
%86.17
%0
%63.14

Codes

Color #340D5E in popluar color models

340D5E
RGB521394
HSL269°75.70%20.98%
HSB/HSV269°86.17%36.86%
CMYK44.68%86.17%0.00%
63.14%

Color #340D5E in popluar number systems.

HEX340D5E
Decimal521394
Binary11010011011011110
Octal6415136

Shades and tints

Shades of #340D5E

#340D5E
(52,13,94)
#300C56
(48,12,86)
#2C0B4E
(44,11,78)
#280A46
(40,10,70)
#24093E
(36,9,62)
#200836
(32,8,54)
#1C072E
(28,7,46)
#180626
(24,6,38)
#14051E
(20,5,30)
#100416
(16,4,22)
#0C030E
(12,3,14)
#000000
(0,0,0)

Tints of #340D5E

#340D5E
(52,13,94)
#46236C
(70,35,108)
#58397A
(88,57,122)
#6A4F88
(106,79,136)
#7C6596
(124,101,150)
#8E7BA4
(142,123,164)
#A091B2
(160,145,178)
#B2A7C0
(178,167,192)
#C4BDCE
(196,189,206)
#D6D3DC
(214,211,220)
#E8E9EA
(232,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340D5E color. Also use rgb(52,13,94) instead hex code.

Text Font Color

.myTextColor { color: #340D5E; }

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

This text font color is #340D5E.


Background Color

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

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

This div background color is #340D5E.


Border color

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

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

This div border color is #340D5E.


Opacity

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

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

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

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

This text has shadow with #340D5E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #340D5E on black background.


Color preview on white background

This text has color #340D5E on white background.



Black color preview on #340D5E background

This text has black color on #340D5E background.


White color preview on #340D5E background

This text has white color on #340D5E background.