GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Typically the binary versions of 24-bit color are represented in an RGB format. In hex the value is 0x00BBGGRR where B, G and R are blue, green, and red respectively. This series of functions aid in the building and parsing of binary RGB values.
When strings, colors can be represented in hex #rrggbb or shorthand #rgb; in CSS format as ‘rgb(rrr,ggg,bbb)’ as either hex or decimal values; or as web safe color names such as ‘Red’ or ‘Lime’.
Functions:
ApplyTintToColor — Applies a tint percentage to a color string and returns a string in the incoming format.
ApplyTintToRGB — Applies a tint percentage to an incoming RGB value and returns an RGB value.
ColorToRGB — Makes a color string into an RGB dword.
GetRedValue — Gets the red byte from RGB value (dword) or string.
GetGreenValue — Gets the green byte from RGB value (dword) or string.
GetBlueValue — Gets the blue byte from RGB value (dword) or string.
IsDefaultColor — Tests for the value being RGB_DEFAULT for auto or transparent values.
MakeRGBColor — Makes an RGB value from a color name, RGB string or 8-bit r g b values.
RGBToColor — Makes an RGB value into a color string.
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.