COLOR #180728

HEX: #180728 RGB: (24,7,40)

Color info

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

RGB color model

#180728 color RGB value is (24,7,40).

RGB: (24,7,40) (9%, 3%, 16%)

RGB channels and saturation

R 24 of 255 = 9%
G 7 of 255 = 3%
B 40 of 255 = 16%

24
7
40

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

Portions of RGB colors in percentages

R + G + B = 24 + 7 + 40 = 71 (100%)
R 24 of 71 ~ 33.8%
G 7 of 71 ~ 9.86%
B 40 of 71 ~ 56.34'%

%33.8
%56.34

CMYK color model

#180728 color CMYK value is (40,83,0,84).

  • cyan value is 40.00%
  • magenta value is 82.50%
  • yellow value is 0.00%
  • key color value is 84.31%

CMYK: (40,83,0,84)
C40M83Y0K84 (40%, 83%, 0%, 84%)
(0.40 / 0.83 / 0.00 / 0.84)

CMYK percentages

%40
%82.5
%0
%84.31

Codes

Color #180728 in popluar color models

18 07 28
RGB 24 7 40
HSL 271° 70.21% 9.22%
HSB/HSV 271° 82.50% 15.69%
CMYK 40.00% 82.50% 0.00%
84.31%

Color #180728 in popluar number systems.

HEX 18 07 28
Decimal 24 7 40
Binary 11000 111 101000
Octal 30 7 50

Shades and tints

Shades of #180728

#180728
(24,7,40)
#160725
(22,7,37)
#140722
(20,7,34)
#12071F
(18,7,31)
#10071C
(16,7,28)
#0E0719
(14,7,25)
#0C0716
(12,7,22)
#0A0713
(10,7,19)
#080710
(8,7,16)
#06070D
(6,7,13)
#04070A
(4,7,10)
#000000
(0,0,0)

Tints of #180728

#180728
(24,7,40)
#2D1D3B
(45,29,59)
#42334E
(66,51,78)
#574961
(87,73,97)
#6C5F74
(108,95,116)
#817587
(129,117,135)
#968B9A
(150,139,154)
#ABA1AD
(171,161,173)
#C0B7C0
(192,183,192)
#D5CDD3
(213,205,211)
#EAE3E6
(234,227,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #180728 color. Also use rgb(24,7,40) instead hex code.

Text Font Color

.myTextColor { color: #180728; }

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

This text font color is #180728.

Background Color

.myBgColor { background-color: #180728; }

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

This div background color is #180728.

Border color

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

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

This div border color is #180728.

Opacity

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

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

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

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

This text has shadow with #180728 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #180728.

Preview

Color preview on black background

This text has color #180728 on black background.


Color preview on white background

This text has color #180728 on white background.


Black color preview on #180728 background

This text has black color on #180728 background.


White color preview on #180728 background

This text has white color on #180728 background.


Related colors

Complementary color

Complementary color for #hex is #E7F8D7.


I love getcolorcode.com

Triadic colors

1 #281807 and #072818 with #180728 are triadic colors.

2 #280718 and #071828 with #180728 are triadic colors.