COLOR #340C4B

HEX: #340C4B
RGB: (52,12,75)

Color info

#340C4B contains mainly red and blue colors. Web safe color of #340C4B is #330033 (or #303).

RGB color model

#340C4B color RGB value is (52,12,75).

  • red value is 52;
  • green value is 12;
  • blue value is 75.
RGB:
(52,12,75)
(20%,5%,29%)

RGB channels and saturation

R 52 of 255 = 20%
G 12 of 255 = 5%
B 75 of 255 = 29%

52
12
75

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

Portions of RGB colors in percentages

R + G + B =
52 + 12 + 75 = 139 (100%)
R 52 of 139 ~ 37.41%
G 12 of 139 ~ 8.63%
B 75 of 139 ~ 53.96%

%37.41
%53.96

CMYK color model

#340C4B color CMYK value is (31,84,0,71).

  • cyan value is 30.67%
  • magenta value is 84.00%
  • yellow value is 0.00%
  • key color value is 70.59%
CMYK:
(31,84,0,71)
C31M84Y0K71 
(31%,84%,0%,71%)
(0.31/0.84/0.00/0.71)	

CMYK percentages

%30.67
%84
%0
%70.59

Codes

Color #340C4B in popluar color models

340C4B
RGB521275
HSL278°72.41%17.06%
HSB/HSV278°84.00%29.41%
CMYK30.67%84.00%0.00%
70.59%

Color #340C4B in popluar number systems.

HEX340C4B
Decimal521275
Binary11010011001001011
Octal6414113

Shades and tints

Shades of #340C4B

#340C4B
(52,12,75)
#300B45
(48,11,69)
#2C0A3F
(44,10,63)
#280939
(40,9,57)
#240833
(36,8,51)
#20072D
(32,7,45)
#1C0627
(28,6,39)
#180521
(24,5,33)
#14041B
(20,4,27)
#100315
(16,3,21)
#0C020F
(12,2,15)
#000000
(0,0,0)

Tints of #340C4B

#340C4B
(52,12,75)
#46225B
(70,34,91)
#58386B
(88,56,107)
#6A4E7B
(106,78,123)
#7C648B
(124,100,139)
#8E7A9B
(142,122,155)
#A090AB
(160,144,171)
#B2A6BB
(178,166,187)
#C4BCCB
(196,188,203)
#D6D2DB
(214,210,219)
#E8E8EB
(232,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #340C4B color. Also use rgb(52,12,75) instead hex code.

Text Font Color

.myTextColor { color: #340C4B; }

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

This text font color is #340C4B.


Background Color

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

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

This div background color is #340C4B.


Border color

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

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

This div border color is #340C4B.


Opacity

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

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

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

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

This text has shadow with #340C4B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #340C4B on black background.


Color preview on white background

This text has color #340C4B on white background.



Black color preview on #340C4B background

This text has black color on #340C4B background.


White color preview on #340C4B background

This text has white color on #340C4B background.