Standard Colors List

From SDK
Jump to navigation Jump to search
Back.jpg

Standard Color Names and Values

   Color Menu Name  | Code Name        |  Red   |  Green  | Blue
   ===============================================================
   -- Aqua  ------------------------------------------------------              
              local  Aqua            = "0.20000, 0.80000, 0.80000"
   -- Black  -----------------------------------------------------              
              local  Black           = "0.00000, 0.00000, 0.00000"
   -- Blue  ------------------------------------------------------              
              local  Blue            = "0.00000, 0.00000, 1.00000"
   -- Blue Gray  -------------------------------------------------              
              local  BlueGray        = "0.40000, 0.40000, 0.60000"
   -- Bright Green  ----------------------------------------------              
              local  BrightGreen     = "0.00000, 1.00000" 0.00000"
   -- Brown  -----------------------------------------------------              
              local  Brown           = "0.60000, 0.20000, 0.00000"
   -- Dark Blue  -------------------------------------------------              
              local  DarkBlue        = "0.00000, 0.00000, 0.50200"
   -- Dark Green  ------------------------------------------------              
              local  DarkGreen       = "0.00000, 0.20000, 0.00000"
   -- Dark Red  --------------------------------------------------              
              local  DarkRed         = "0.50200, 0.00000, 0.00000"
   -- Dark Teal  -------------------------------------------------              
              local  DarkTeal        = "0.00000, 0.20000, 0.40000"
   -- Dark Yellow  -----------------------------------------------              
              local  DarkYellow      = "0.50200, 0.50200, 0.00000"
   -- Gold  ------------------------------------------------------              
              local  Gold            = "1.00000, 0.80000, 0.00000"
   -- Gray-25%  --------------------------------------------------          
              local  Gray25          = "0.75400, 0.75400, 0.75400"
   -- Gray-40%  --------------------------------------------------          
              local  Gray40          = "0.60002, 0.60002, 0.60002"
   -- Gray-50%  --------------------------------------------------          
              local  Gray50          = "0.50200, 0.50200, 0.50200"
   -- Gray-80%  --------------------------------------------------          
              local  Gray80          = "0.20000, 0.20000, 0.20000"
   -- Green  -----------------------------------------------------             
              local  Green           = "0.00000, 0.50200, 0.00000"
   -- Indigo  ----------------------------------------------------            
              local  Indigo          = "0.20000, 0.20000, 0.60000"
   -- Lavender  --------------------------------------------------          
              local  Lavender        = "0.80000, 0.60000, 1.00000"
   -- Light Blue  ------------------------------------------------        
              local  LightBlue       = "0.20000, 0.40000, 1.00000"
   -- Light Green  -----------------------------------------------       
              local  LightGreen      = "0.80000, 1.00000, 0.80000"
   -- Light Orange  ----------------------------------------------      
              local  LightOrange     = "1.00000, 0.60000, 0.00000"
   -- Light Turquoise  -------------------------------------------   
              local  LightTurquoise  = "0.80000, 1.00000" 1.00000"
   -- Light Yellow  ----------------------------------------------      
              local  LightYellow     = "1.00000, 1.00000" 0.60000"
   -- Lime  ------------------------------------------------------              
              local  Lime            = "0.60000, 0.80000, 0.00000"
   -- Olive Green  -----------------------------------------------       
              local  OliveGreen      = "0.20000, 0.20000, 0.00000"
   -- Orange  ----------------------------------------------------            
              local  Orange          = "1.00000, 0.40000, 0.00000"
   -- Pale-Blue  -------------------------------------------------         
              local  PaleBlue        = "0.60000, 0.80000, 1.00000"
   -- Pink  ------------------------------------------------------              
              local  Pink            = "1.00000, 0.00000, 1.00000"
   -- Plum  ------------------------------------------------------              
              local  Plum            = "0.60000, 0.20000, 0.40000"
   -- Red  -------------------------------------------------------               
              local  Red             = "1.00000, 0.00000, 0.00000"
   -- Rose  ------------------------------------------------------              
              local  Rose            = "1.00000, 0.60000, 0.80000"
   -- Sea Green  -------------------------------------------------         
              local  SeaGreen        = "0.20000, 0.60000, 0.40000"
   -- Sky Blue  --------------------------------------------------          
              local  SkyBlue         = "0.00000, 0.80000, 1.00000"
   -- Tan  -------------------------------------------------------               
              local  Tan             = "1.00000, 0.80000, 0.60000"
   -- Teal  ------------------------------------------------------              
              local  Teal            = "0.00000, 0.50200, 0.50200"
   -- Turquoise  -------------------------------------------------         
              local  Turquoise       = "0.00000, 1.00000, 1.00000"
   -- Violet  ----------------------------------------------------            
              local  Violet          = "0.50200, 0.00000, 0.50200"
   -- White  -----------------------------------------------------             
              local  White           = "1.00000, 1.00000, 1.00000"
   -- Yellow  ----------------------------------------------------          
              local  Yellow          = "1.00000, 1.00000, 0.00000"
   ---------------------------------------------------------------
   local job       = VectricJob()
   local layer     = job.LayerManager:GetLayerWithName(MyLayerName)
                     layer:SetColor(ColorName)
   ---------------------------------------------------------------


Back.jpg

References

Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 10.0, published August 21, 2019. by Vectric Ltd. Most current document from Vertric can be downloaded at Vertric Developer Information