UIColor + Addition.h 声明 #import<UIKit/UIKit.h>@interfaceUIColor(Addition)//设置RGB颜色+(UIColor*)red:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue alpha:(CGFloat)alpha;//将颜色转换成RGB+(NSArray*)convertColorToRGB:(UIColor*)color;//设置十六进制颜色+(UIColor*)colorWithH...
此為可在網路瀏覽器上執行之色碼轉換器。只需簡單的操作,就可將 RGB 轉換為 16 進位色碼(hexadecimal color code : HEX),或將 16 進位色碼轉換為 RGB 。
<inputtype="text"name="hexStr"value="#000000"> <buttononclick="rgbColorCode()">转换</button> </div> <div> <h4> 转换后的RGB颜色码:<spanclass="rgb-code"></span> </h4> <divclass="rgb-color"></div> </div> </div> <script>functionhexAdecimalColorCode() { letrgbNumDom=document....
Hexadecimals (或 hex)是十六进制数字,这意味着它使用十六个不同的符号。 在CSS 中,我们可以使用 6 位十六进制数字来表示颜色,每 2 位分别表示红色 (R)、绿色 (G) 和蓝色 (B) 成分。例如,#000000 是黑色,同时也是可能的数值中最小的。#FF0000是红色, #00FF00是绿色, #0000FF是蓝色。 你可能会疑惑为...
onclick="hexAdecimalColorCode()">转换</button></div><div><h4>转换后的十六进制颜色码:<span class="hex-code"></span></h4><div class="hex-color"></div></div></div><div><h3>十六进制颜色码转换成RGB颜色值:</h3><div><input type="text" name="hexStr" value="#000000"><button on...
Hexadecimal Color Code RGB Values HSV Values Color Name Hexadecimal Color Code A hexadecimal color code is a representation of color using a combination of hexadecimal values for red, green, and blue (RGB) channels. It allows for precise control over the intensity of each primary color, enabling...
The hexadecimal color code #412029 is a dark shade of pink. In the RGB color model #412029 is composed of 25.49% red, 12.55% green and 16.08% blue. In the HSL color space #412029 has a hue of 344° (degrees), 34% saturation and 19% lightness. This color has an approximate wavel...
html backgound color codes, css color codes, hexadecimal color codes, rgb color codes and color names.
This is a color converter that runs on the web browser.It can convert RGB to hexadecimal color code (HEX), or convert hexadecimal color code to RGB.
Color: Hexadecimal: FFFFCC RGB Decimal : 255, 255, 204 HSL : 60°, 100%, 90% HSV : 60°, 20%, 100% CMYK : 0%, 0%, 20%, 0% XYZ : 87.899, 97.14, 71.244 xyY : 0.343, 0.379, 97.14 CIE-LAB : 98.883, -8.049, 24.444 CIE-LCH : 98.883, 25.735, 108.225 Hunter-Lab : 98.559,...