COLOR #15042A

HEX: #15042A RGB: (21,4,42)

Color info

#15042A contains red, green and blue colors in about the same proportion. Web safe color of #15042A is #000033 (or #003).

RGB color model

#15042A color RGB value is (21,4,42).

RGB: (21,4,42) (8%, 2%, 16%)

RGB channels and saturation

R 21 of 255 = 8%
G 4 of 255 = 2%
B 42 of 255 = 16%

21
4
42

R + G + B ~ 9%. #15042A is dark color.

Portions of RGB colors in percentages

R + G + B = 21 + 4 + 42 = 67 (100%)
R 21 of 67 ~ 31.34%
G 4 of 67 ~ 5.97%
B 42 of 67 ~ 62.69'%

%31.34
%62.69

CMYK color model

#15042A color CMYK value is (50,90,0,84).

  • cyan value is 50.00%
  • magenta value is 90.48%
  • yellow value is 0.00%
  • key color value is 83.53%

CMYK: (50,90,0,84)
C50M90Y0K84 (50%, 90%, 0%, 84%)
(0.50 / 0.90 / 0.00 / 0.84)

CMYK percentages

%50
%90.48
%0
%83.53

Codes

Color #15042A in popluar color models

15 04 2A
RGB 21 4 42
HSL 267° 82.61% 9.02%
HSB/HSV 267° 90.48% 16.47%
CMYK 50.00% 90.48% 0.00%
83.53%

Color #15042A in popluar number systems.

HEX 15 04 2A
Decimal 21 4 42
Binary 10101 100 101010
Octal 25 4 52

Shades and tints

Shades of #15042A

#15042A
(21,4,42)
#140427
(20,4,39)
#130424
(19,4,36)
#120421
(18,4,33)
#11041E
(17,4,30)
#10041B
(16,4,27)
#0F0418
(15,4,24)
#0E0415
(14,4,21)
#0D0412
(13,4,18)
#0C040F
(12,4,15)
#0B040C
(11,4,12)
#000000
(0,0,0)

Tints of #15042A

#15042A
(21,4,42)
#2A1A3D
(42,26,61)
#3F3050
(63,48,80)
#544663
(84,70,99)
#695C76
(105,92,118)
#7E7289
(126,114,137)
#93889C
(147,136,156)
#A89EAF
(168,158,175)
#BDB4C2
(189,180,194)
#D2CAD5
(210,202,213)
#E7E0E8
(231,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #15042A color. Also use rgb(21,4,42) instead hex code.

Text Font Color

.myTextColor { color: #15042A; }

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

This text font color is #15042A.

Background Color

.myBgColor { background-color: #15042A; }

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

This div background color is #15042A.

Border color

.myBorderColor { border: 1px solid #15042A; }

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

This div border color is #15042A.

Opacity

.myOpacity80 { color: #15042A; opacity: 0.8; }

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

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

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

This text has shadow with #15042A color.


.textShadow {text-shadow: 3px 3px 1px #15042A', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #15042A; -webkit-box-shadow: 1px 1px 3px 2px #15042A; box-shadow:1px 1px 3px 2px #15042A;">
Div content here
</div>

This div box has shadow with color #15042A.

Preview

Color preview on black background

This text has color #15042A on black background.


Color preview on white background

This text has color #15042A on white background.


Black color preview on #15042A background

This text has black color on #15042A background.


White color preview on #15042A background

This text has white color on #15042A background.


Related colors

Complementary color

Complementary color for #hex is #EAFBD5.


I love getcolorcode.com

Triadic colors

1 #2A1504 and #042A15 with #15042A are triadic colors.

2 #2A0415 and #04152A with #15042A are triadic colors.