Returns the current colour specification for a colour object whose name is passed to argument 1. Named colour objects are simply option variables used to store colour information. See Set for information about option variables.
Returns the value in the form #rrggbb.
If the object name passed is not recognised the function will return the representation for the colour black.
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
string |
Yes |
|
Colour name |
Return type: string
|