Color =  viewport .backcolor .get  (  )  
                           
Description :

This instruction returns the background color of a viewport.

Parameters :

Return Value :

  • Background color, for example:

    COLOR_BLACK
    COLOR_GREEN
    COLOR_SILVER
    COLOR_LIME
    COLOR_GRAY
    COLOR_WHITE
    COLOR_MAROON
    COLOR_RED
    COLOR_PURPLE
    COLOR_FUSHIA
    COLOR_OLIVE
    COLOR_YELLOW
    COLOR_NAVY
    COLOR_BLUE
    COLOR_TEAL
    COLOR_AQUA
    COLOR_TRANSPARENCY
    COLOR_DEFAULT

Examples :