COLOR #340D5F

HEX: #340D5F
RGB: (52,13,95)

Color info

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

RGB color model

#340D5F color RGB value is (52,13,95).

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

RGB channels and saturation

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

52
13
95

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

Portions of RGB colors in percentages

R + G + B =
52 + 13 + 95 = 160 (100%)
R 52 of 160 ~ 32.5%
G 13 of 160 ~ 8.13%
B 95 of 160 ~ 59.38%

%32.5
%59.38

CMYK color model

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

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

CMYK percentages

%45.26
%86.32
%0
%62.75

Codes

Color #340D5F in popluar color models

340D5F
RGB521395
HSL269°75.93%21.18%
HSB/HSV269°86.32%37.25%
CMYK45.26%86.32%0.00%
62.75%

Color #340D5F in popluar number systems.

HEX340D5F
Decimal521395
Binary11010011011011111
Octal6415137

Shades and tints

Shades of #340D5F

#340D5F
(52,13,95)
#300C57
(48,12,87)
#2C0B4F
(44,11,79)
#280A47
(40,10,71)
#24093F
(36,9,63)
#200837
(32,8,55)
#1C072F
(28,7,47)
#180627
(24,6,39)
#14051F
(20,5,31)
#100417
(16,4,23)
#0C030F
(12,3,15)
#000000
(0,0,0)

Tints of #340D5F

#340D5F
(52,13,95)
#46236D
(70,35,109)
#58397B
(88,57,123)
#6A4F89
(106,79,137)
#7C6597
(124,101,151)
#8E7BA5
(142,123,165)
#A091B3
(160,145,179)
#B2A7C1
(178,167,193)
#C4BDCF
(196,189,207)
#D6D3DD
(214,211,221)
#E8E9EB
(232,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #340D5F; }

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

This text font color is #340D5F.


Background Color

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

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

This div background color is #340D5F.


Border color

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

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

This div border color is #340D5F.


Opacity

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

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

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

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

This text has shadow with #340D5F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #340D5F on black background.


Color preview on white background

This text has color #340D5F on white background.



Black color preview on #340D5F background

This text has black color on #340D5F background.


White color preview on #340D5F background

This text has white color on #340D5F background.