| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. #@627 Convert COLOR string to a list of normalized RGB components. COLOR should be a color name (e.g. "white") or an RGB triplet string (e.g. "#ffff1122eecc"). COLOR can also be the symbol `unspecified' or one of the strings "unspecified-fg" or "unspecified-bg", in which case the return value is nil. Normally the return value is a list of three floating-point numbers, (RED GREEN BLUE), each between 0.0 and 1.0 inclusive. Optional argument FRAME specifies the frame where the color is to be displayed. If FRAME is omitted or nil, use the selected frame. If FRAME cannot display COLOR, return nil. (fn COLOR &optional FRAME) (defalias 'color-name-to-rgb #[513 "\300\301\302!@!\303\304\305\"\301\"\"\207" [float color-values "#ffffffffffff" mapcar make-closure #[257 "\211\300\245\207" [V0] 3 "\n\n(fn X)"]] 8 (#$ . 85)]) #@337 Return hexadecimal #RGB notation for the color specified by RED GREEN BLUE. RED, GREEN, and BLUE should be numbers between 0.0 and 1.0, inclusive. Optional argument DIGITS-PER-COMPONENT can be either 4 (the default) or 2; use the latter if you need a 24-bit specification of a color. (fn RED GREEN BLUE &optional DIGITS-PER-COMPONENT) (defalias 'color-rgb-to-hex #[1027 "\211\204 \300\262\211\301U\203 \302\202 \303\301U\203 \304\202 \305\306___$\207" [4 2 255 65535 "#%02x%02x%02x" "#%04x%04x%04x" format] 12 (#$ . 917)]) #@206 Return the color that is the complement of COLOR-NAME. COLOR-NAME should be a string naming a color (e.g. "white"), or a string specifying a color's RGB components (e.g. "#ffff1212ecec"). (fn COLOR-NAME) (defalias 'color-complement #[257 "\300!\301@Z\301A@Z\301\3028ZE\207" [color-name-to-rgb 1.0 2] 7 (#$ . 1466)]) #@235 Return a list with STEP-NUMBER colors from START to STOP. The color list builds a color gradient starting at color START to color STOP. It does not include the START and STOP color in the resulting list. (fn START STOP STEP-NUMBER) (defalias 'color-gradient #[771 "@A@\3008\301T!@Z\245A@Z\245\3008Z\245\302\303\211\nW\203Q \302 \\\211\262 \\\211\262 \\\211\262EB\262\210\211T\262\202$ \210\211\237\207" [2 float nil 0] 17 (#$ . 1794)]) #@84 Compute hue from V1 and V2 H. Used internally by `color-hsl-to-rgb'. (fn V1 V2 H) (defalias 'color-hue-to-rgb #[771 "\211\300W\203 Z_\301_\\\207\211\302W\203 \207\211\303W\203* Z\303Z_\301_\\\207\207" [0.16666666666666666 6.0 0.5 0.6666666666666666] 7 (#$ . 2269)]) #@233 Convert hue, saturation and luminance to their RGB representation. H, S, and L should each be numbers between 0.0 and 1.0, inclusive. Return a list (RED GREEN BLUE), where each element is between 0.0 and 1.0, inclusive. (fn H S L) (defalias 'color-hsl-to-rgb #[771 "\300U\203 \211\211E\207\211\301X\203 \211\302\\_\202 \211\\_Z\303_Z\304\305\306\\\307\"#\304#\304\305\n\306Z\307\"#E\207" [0.0 0.5 1.0 2.0 color-hue-to-rgb mod 0.3333333333333333 1] 13 (#$ . 2555)]) #@86 Return the color that is the complement of COLOR, in hexadecimal format. (fn COLOR) (defalias 'color-complement-hex #[257 "\300\301\302!\"\207" [apply color-rgb-to-hex color-complement] 5 (#$ . 3049)]) #@264 Convert RGB color components to HSV. RED, GREEN, and BLUE should each be numbers between 0.0 and 1.0, inclusive. Return a list (HUE SATURATION VALUE), where HUE is in radians and both SATURATION and VALUE are between 0.0 and 1.0, inclusive. (fn RED GREEN BLUE) (defalias 'color-rgb-to-hsv #[771 "\301!\301!\301!]]^^Z\302W\203 \303\211E\207\304_U\2033 U\2033 \305\202\217 U\203K Y\203K \306ZZ\245_\202\217 U\203g W\203g \307\306ZZ\245_\\\202\217 U\203| \310\306ZZ\245_\\\202\217 U\205\217 \311\306ZZ\245_\\_\307\245\305U\203\234 \305\202\241 \312\245ZE\207" [float-pi float 1e-08 0.0 2 0 60 360 120 240 1] 14 (#$ . 3260)]) #@243 Convert RGB colors to their HSL representation. RED, GREEN, and BLUE should each be numbers between 0.0 and 1.0, inclusive. Return a list (HUE SATURATION LUMINANCE), where each element is between 0.0 and 1.0, inclusive. (fn RED GREEN BLUE) (defalias 'color-rgb-to-hsl #[771 "]]^^Z\\\300\245\301U\203 \302\211E\207\211\303X\203+ \\\245\2022 \300ZZ\245Z\245Z\245Z\245\304 U\203T Z\202k \n U\203e \300\\[\\\202k \305\\[\\\306\245\307\"\211E\207" [2.0 0 0.0 0.5 mod 4.0 6.0 1.0] 15 (#$ . 3946)]) #@152 Convert RED GREEN BLUE colors from the sRGB color space to CIE XYZ. RED, GREEN and BLUE should be between 0.0 and 1.0, inclusive. (fn RED GREEN BLUE) (defalias 'color-srgb-to-xyz #[771 "\300X\203\f \301\245\202 \302\303\\\304\245\305\"\300X\203 \301\245\202( \302\303\\\304\245\305\"\300X\2034 \301\245\202<