Where can I find a list of the names of the new colors available in the new GAUSS graphics?
For example, the documentation for
states that colors is
String array, name or rgb value of the new colors.
clrs = "aqua"$|"midnight blue";
as an example.
Where are the other names (and the colors they refer to) documented?
....and I find the answer right after asking the question: Section 30 of the User Guide!
This list of named colors in section 30 of the User Guide is a list of of the colors that are supported in all web browsers. You can see the list here.
GAUSS can accept the color name as a string or its hex value. For example:
clrs = "coral"$|"indigo";
is equivalent to:
clrs = "#ff7f50"$|"#4b0082";
See the chart from the link in the first paragraph to see where the hex values came from.
Since the string names make for more readable code, they are generally preferred. However, the hex values gives you a wider range of color options.
Please login or Register to submit your answer