カテゴリー:
色
閲覧数:500 配信日:2016-04-29 11:08
colorデータ型
<rgb()> = rgb( <rgb-component>#{3} )
<rgba()> = rgba( <rgb-component>#{3} , <alpha-value> )
<hsl()> = hsl( <hue>, <percentage>, <percentage> )
<hsla()> = hsla( <hue>, <percentage>, <percentage>, <alpha-value> )
<rgba()> = rgba( <rgb-component>#{3} , <alpha-value> )
<hsl()> = hsl( <hue>, <percentage>, <percentage> )
<hsla()> = hsla( <hue>, <percentage>, <percentage>, <alpha-value> )
<percentage> は <number>%
<rgb()> = rgb( <rgb-component>#{3} )
<rgba()> = rgba( <rgb-component>#{3} , <number> )
<hsl()> = hsl( <number>, <number>%, <number>% )
<hsla()> = hsla( <number>, <number>%, <number>%, <number> )
<rgba()> = rgba( <rgb-component>#{3} , <number> )
<hsl()> = hsl( <number>, <number>%, <number>% )
<hsla()> = hsla( <number>, <number>%, <number>%, <number> )
<rgb-component> が <integer>
<rgb()> = rgb( <integer>#{3} )
<rgba()> = rgba(<integer>#{3} , <number> )
<hsl()> = hsl( <number>, <number>%,<number>% )
<hsla()> = hsla( <number>, <number>%, <number>%, <number> )
<rgba()> = rgba(<integer>#{3} , <number> )
<hsl()> = hsl( <number>, <number>%,<number>% )
<hsla()> = hsla( <number>, <number>%, <number>%, <number> )
<rgb-component> が <number>%
<rgb()> = rgb( <number>%#{3} )
<rgba()> = rgba( <number>%#{3} ,<number> )
<hsl()> = hsl( <number>, <number>%, <number>% )
<hsla()> = hsla( <number>, <number>%,<number>%, <number>)
<rgba()> = rgba( <number>%#{3} ,<number> )
<hsl()> = hsl( <number>, <number>%, <number>% )
<hsla()> = hsla( <number>, <number>%,<number>%, <number>)
整数 / 実数
RGB が <integer>
RGB = rgb( 整数#{3} )
RGBA = rgba(整数#{3} , 実数 )
HSL = hsl( 実数, 実数%,実数% )
HSLA = hsla( 実数, 実数%, 実数%, 実数 )
RGBA = rgba(整数#{3} , 実数 )
HSL = hsl( 実数, 実数%,実数% )
HSLA = hsla( 実数, 実数%, 実数%, 実数 )
RGB が <number>%
RGB = rgb( 実数%#{3} )
RBGA = rgba( 実数%#{3} ,実数 )
HSL = hsl( 実数, 実数%, 実数% )
HSLA = hsla( 実数, 実数%,実数%, 実数)
RBGA = rgba( 実数%#{3} ,実数 )
HSL = hsl( 実数, 実数%, 実数% )
HSLA = hsla( 実数, 実数%,実数%, 実数)