COLOR #ECE402

HEX: #ECE402
RGB: (236,228,2)

Color info

#ECE402 contains mainly red and green colors. Web safe color of #ECE402 is #FFCC00 (or #FC0).

RGB color model

#ECE402 color RGB value is (236,228,2).

  • red value is 236;
  • green value is 228;
  • blue value is 2.
RGB:
(236,228,2)
(93%,89%,1%)

RGB channels and saturation

R 236 of 255 = 93%
G 228 of 255 = 89%
B 2 of 255 = 1%

236
228
2

R + G + B ~ 61%. #ECE402 is quite light color.

Portions of RGB colors in percentages

R + G + B =
236 + 228 + 2 = 466 (100%)
R 236 of 466 ~ 50.64%
G 228 of 466 ~ 48.93%
B 2 of 466 ~ 0.43%

%50.64
%48.93

CMYK color model

#ECE402 color CMYK value is (0,3,99,7).

  • cyan value is 0.00%
  • magenta value is 3.39%
  • yellow value is 99.15%
  • key color value is 7.45%
CMYK:
(0,3,99,7)
C0M3Y99K7 
(0%,3%,99%,7%)
(0.00/0.03/0.99/0.07)	

CMYK percentages

%0
%3.39
%99.15
%7.45

Codes

Color #ECE402 in popluar color models

ECE402
RGB2362282
HSL58°98.32%46.67%
HSB/HSV58°99.15%92.55%
CMYK0.00%3.39%99.15%
7.45%

Color #ECE402 in popluar number systems.

HEXECE402
Decimal2362282
Binary111011001110010010
Octal3543442

Shades and tints

Shades of #ECE402

#ECE402
(236,228,2)
#D7D002
(215,208,2)
#C2BC02
(194,188,2)
#ADA802
(173,168,2)
#989402
(152,148,2)
#838002
(131,128,2)
#6E6C02
(110,108,2)
#595802
(89,88,2)
#444402
(68,68,2)
#2F3002
(47,48,2)
#1A1C02
(26,28,2)
#000000
(0,0,0)

Tints of #ECE402

#ECE402
(236,228,2)
#EDE619
(237,230,25)
#EEE830
(238,232,48)
#EFEA47
(239,234,71)
#F0EC5E
(240,236,94)
#F1EE75
(241,238,117)
#F2F08C
(242,240,140)
#F3F2A3
(243,242,163)
#F4F4BA
(244,244,186)
#F5F6D1
(245,246,209)
#F6F8E8
(246,248,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #ECE402 color. Also use rgb(236,228,2) instead hex code.

Text Font Color

.myTextColor { color: #ECE402; }

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

This text font color is #ECE402.


Background Color

.myBgColor { background-color: #ECE402; }

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

This div background color is #ECE402.


Border color

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

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

This div border color is #ECE402.


Opacity

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

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

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

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

This text has shadow with #ECE402 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #ECE402 on black background.


Color preview on white background

This text has color #ECE402 on white background.



Black color preview on #ECE402 background

This text has black color on #ECE402 background.


White color preview on #ECE402 background

This text has white color on #ECE402 background.