You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Roassal3, I would like to have a color palette API that could be used like this:
"Choose a color palette"
palette :=RSColorPaletteAnew.
palette :=RSColorPaletteBnew.
palette :=RSColorPaletteCnew.
"Use named colors"
palette red.
palette green.
palette yellow.
palette blue.
palette darkRed.
palette lightBlue.
The idea is the same as in Color red. Color yellow, etc.
Why?
Because in most applications, when we chart, we want to say "give me a red line and a blue line". And then we don't need those colors to be true red (i.e., Color red) or true blue (i.e., Color blue). We want them to be red and blue that are aestethically beutiful and match each other well.
This can be decided by the palette class.
Also, users want to say "red" and "blue", not "third color from palette diverse085"
The text was updated successfully, but these errors were encountered:
In Roassal3, I would like to have a color palette API that could be used like this:
The idea is the same as in
Color red
.Color yellow
, etc.Why?
Because in most applications, when we chart, we want to say "give me a red line and a blue line". And then we don't need those colors to be true red (i.e.,
Color red
) or true blue (i.e.,Color blue
). We want them to be red and blue that are aestethically beutiful and match each other well.This can be decided by the palette class.
Also, users want to say "red" and "blue", not "third color from palette diverse085"
The text was updated successfully, but these errors were encountered: