COLOR #340652

HEX: #340652
RGB: (52,6,82)

Color info

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

RGB color model

#340652 color RGB value is (52,6,82).

  • red value is 52;
  • green value is 6;
  • blue value is 82.
RGB:
(52,6,82)
(20%,2%,32%)

RGB channels and saturation

R 52 of 255 = 20%
G 6 of 255 = 2%
B 82 of 255 = 32%

52
6
82

R + G + B ~ 18%. #340652 is dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 6 + 82 = 140 (100%)
R 52 of 140 ~ 37.14%
G 6 of 140 ~ 4.29%
B 82 of 140 ~ 58.57%

%37.14
%58.57

CMYK color model

#340652 color CMYK value is (37,93,0,68).

  • cyan value is 36.59%
  • magenta value is 92.68%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK:
(37,93,0,68)
C37M93Y0K68 
(37%,93%,0%,68%)
(0.37/0.93/0.00/0.68)	

CMYK percentages

%36.59
%92.68
%0
%67.84

Codes

Color #340652 in popluar color models

340652
RGB52682
HSL276°86.36%17.25%
HSB/HSV276°92.68%32.16%
CMYK36.59%92.68%0.00%
67.84%

Color #340652 in popluar number systems.

HEX340652
Decimal52682
Binary1101001101010010
Octal646122

Shades and tints

Shades of #340652

#340652
(52,6,82)
#30064B
(48,6,75)
#2C0644
(44,6,68)
#28063D
(40,6,61)
#240636
(36,6,54)
#20062F
(32,6,47)
#1C0628
(28,6,40)
#180621
(24,6,33)
#14061A
(20,6,26)
#100613
(16,6,19)
#0C060C
(12,6,12)
#000000
(0,0,0)

Tints of #340652

#340652
(52,6,82)
#461C61
(70,28,97)
#583270
(88,50,112)
#6A487F
(106,72,127)
#7C5E8E
(124,94,142)
#8E749D
(142,116,157)
#A08AAC
(160,138,172)
#B2A0BB
(178,160,187)
#C4B6CA
(196,182,202)
#D6CCD9
(214,204,217)
#E8E2E8
(232,226,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340652 color. Also use rgb(52,6,82) instead hex code.

Text Font Color

.myTextColor { color: #340652; }

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

This text font color is #340652.


Background Color

.myBgColor { background-color: #340652; }

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

This div background color is #340652.


Border color

.myBorderColor { border: 1px solid #340652; }

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

This div border color is #340652.


Opacity

.myOpacity80 { color: #340652; opacity: 0.8; }

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

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

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

This text has shadow with #340652 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #340652 on black background.


Color preview on white background

This text has color #340652 on white background.



Black color preview on #340652 background

This text has black color on #340652 background.


White color preview on #340652 background

This text has white color on #340652 background.