COLOR #42152B

HEX: #42152B
RGB: (66,21,43)

Color info

#42152B contains red, green and blue colors in about the same proportion. Web safe color of #42152B is #330033 (or #303).

RGB color model

#42152B color RGB value is (66,21,43).

  • red value is 66;
  • green value is 21;
  • blue value is 43.
RGB:
(66,21,43)
(26%,8%,17%)

RGB channels and saturation

R 66 of 255 = 26%
G 21 of 255 = 8%
B 43 of 255 = 17%

66
21
43

R + G + B ~ 17%. #42152B is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 21 + 43 = 130 (100%)
R 66 of 130 ~ 50.77%
G 21 of 130 ~ 16.15%
B 43 of 130 ~ 33.08%

%50.77
%16.15
%33.08

CMYK color model

#42152B color CMYK value is (0,68,35,74).

  • cyan value is 0.00%
  • magenta value is 68.18%
  • yellow value is 34.85%
  • key color value is 74.12%
CMYK:
(0,68,35,74)
C0M68Y35K74 
(0%,68%,35%,74%)
(0.00/0.68/0.35/0.74)	

CMYK percentages

%0
%68.18
%34.85
%74.12

Codes

Color #42152B in popluar color models

42152B
RGB662143
HSL331°51.72%17.06%
HSB/HSV331°68.18%25.88%
CMYK0.00%68.18%34.85%
74.12%

Color #42152B in popluar number systems.

HEX42152B
Decimal662143
Binary100001010101101011
Octal1022553

Shades and tints

Shades of #42152B

#42152B
(66,21,43)
#3C1428
(60,20,40)
#361325
(54,19,37)
#301222
(48,18,34)
#2A111F
(42,17,31)
#24101C
(36,16,28)
#1E0F19
(30,15,25)
#180E16
(24,14,22)
#120D13
(18,13,19)
#0C0C10
(12,12,16)
#060B0D
(6,11,13)
#000000
(0,0,0)

Tints of #42152B

#42152B
(66,21,43)
#532A3E
(83,42,62)
#643F51
(100,63,81)
#755464
(117,84,100)
#866977
(134,105,119)
#977E8A
(151,126,138)
#A8939D
(168,147,157)
#B9A8B0
(185,168,176)
#CABDC3
(202,189,195)
#DBD2D6
(219,210,214)
#ECE7E9
(236,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42152B color. Also use rgb(66,21,43) instead hex code.

Text Font Color

.myTextColor { color: #42152B; }

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

This text font color is #42152B.


Background Color

.myBgColor { background-color: #42152B; }

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

This div background color is #42152B.


Border color

.myBorderColor { border: 1px solid #42152B; }

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

This div border color is #42152B.


Opacity

.myOpacity80 { color: #42152B; opacity: 0.8; }

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

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

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

This text has shadow with #42152B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42152B on black background.


Color preview on white background

This text has color #42152B on white background.



Black color preview on #42152B background

This text has black color on #42152B background.


White color preview on #42152B background

This text has white color on #42152B background.