Convert, generate palettes, and get any color information RGB187, 0, 0 CMYK0, 100, 100, 27 HSL0°, 100, 36.7 Enter any Hex, RGB or HSLvalues. #ff0000 Blend, subtract or create a gradient between two colors Separate your query with +, - or to. ...
rgb(a)、hex、hsl(a)、hsv(a)颜色转换工具 说明:本应用支持rgb、hex、hsl、hsv和keyword颜色之间的相互转换输入指定形式的颜色,点击对应的转换按钮,即可直接输出该颜色的所有表现形式。输入格式在CSS color规范的基础上,有一定宽松。 1、Rgb:[代表Red(红色) Green(绿色) Blue(蓝色)和 Alpha(不透明度);r, g,...
RGB、HEX、RGBA、HSL、HSLA⾊彩空间的区别 RGB⾊彩空间:RGB⾊彩空间⼜称RGB颜⾊模型或红绿蓝颜⾊空间,是⼀种加⾊模型,将红(red)、绿(green)、蓝(blue)三原⾊的⾊光以不同的⽐例相加,以产⽣多种多样的⾊光。在css中表⽰⽅法譬如:rgb(255, 0, 0)表⽰红⾊,rgb(...
([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); color.r=parseInt(rgb[1],16); color.g=parseInt(rgb[2],16); color.b=parseInt(rgb[3],16); }catch(e){ console.log(e) } returncolor; } C#代码publicstaticColor?ParseHEX(stringhexColor) { hexColor=hexColor.Trim...
RGB、HEX、RGBA、HSL、HSLA色彩空间的区别 RGB色彩空间:RGB色彩空间又称RGB颜色模型或红绿蓝颜色空间,是一种加色模型,将红(red)、绿(green)、蓝(blue)三原色的色光以不同的比例相加,以产生多种多样的色光。在css中表示方法譬如:rgb(255, 0, 0)表示红色,rgb(255, 255, 255)表示黑色。
/* Convert hexdec color string to rgb(a) string */ function hex2rgba($color, $opacity = false) { $default = 'rgb(0,0,0)'; //Return default if no color provided if(empty($color)) return $default; //Sanitize $color if "#" is provided if ($color[0] == '#' ) { $color...
RGB color code HSL color code Hex to RGB converter ► RGB to Hex color table ColorColor name (R,G,B)Hex Black(0,0,0)#000000 White(255,255,255)#FFFFFF Red(255,0,0)#FF0000 Lime(0,255,0)#00FF00 Blue(0,0,255)#0000FF ...
HTML Color Names All modern browsers support the following 140 color names. In your HTML and CSS, you can use them by name, Hex color code, or RGB value. Random Colors #90243D #699D14 #1E4047 #BFE495 #015DAE #CDE308 #A5D411 ...
Color hex is a easy to use tool to get the color codes information including color models (RGB,HSL,HSV and CMYK), css and html color codes.
In HSL, the Hue determines what color of the rainbow something is. It’s represented in 360 degrees, like a traditional color wheel. One of the main advantages of HSL over RGB color is that complementary colors are located across from one another, which makes the whole system very intuitive...