Gambas Documentation
Documents

Color (gb.web.gui)

This class provides constant for pre-defined colors and color-related methods

This class is static.

Constants
Black  
Blue  
Cyan  
DarkBlue  
DarkCyan  
DarkGray  
DarkGreen  
DarkMagenta  
DarkOrange  
DarkPurple  
DarkRed  
DarkRoyal  
DarkViolet  
DarkYellow  
Default  
Gray  
Green  
LightGray  
Magenta  
Orange  
Pink  
Purple  
Red  
Royal  
SoftBlue  
SoftCyan  
SoftGreen  
SoftMagenta  
SoftOrange  
SoftPurple  
SoftRed  
SoftRoyal  
SoftViolet  
SoftYellow  
Transparent  
Violet  
White  
Yellow  

Static methods
RGB   Returns a color value from its red, green, blue and alpha components.
SetAlpha   Change the alpha component of a color and return it.
ToHTML   Convert a gambas colour integer into HTML CSS compliant code.