Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
colortable
-
I have made a dictionnary with the name of the colors (as shown in the color + menu).
If you include this (possibly via module), then you can use a color in your program e.g. by
c=colortable['Lemon']
The names of the colors are the same as in the color + menu.This leads to much more desciptive colors in your program.
The code is:
colortable={ 'Cayenne':(0.50, 0.00, 0.00), 'Maraschino':(1.00, 0.00, 0.00), 'Salmon':(1.00, 0.40, 0.40), 'Cantaloupe':(1.00, 0.80, 0.40), 'Tangerine':(1.00, 0.50, 0.00), 'Mocha':(0.0, 0.25, 0.00), 'Asparagus':(0.50, 0.50, 0.00), 'Lemon':(1.00, 1.00, 0.00), 'Banana':(1.00, 1.00, 0.40), 'Honeydew':(0.80, 1.00, 0.40), 'Lime':(0.50, 1.00, 0.00), 'Fern':(0.25, 0.50, 0.00), 'Clover':(0.00, 0.50, 0.00), 'Spring':(0.00, 1.00, 0.00), 'Flora':(0.40, 1.00, 0.40), 'Spindrift':(0.40, 1.00, 0.80), 'Sea Foam':(0.00, 1.00, 0.50), 'Moss':(0.00, 0.50, 0.25), 'Teal':(0.00, 0.50, 0.50), 'Turquoise':(0.00, 1.00, 1.00), 'Ice':(0.40, 1.00, 1.00), 'Sky':(0.40, 0.80, 1.00), 'Aqua':(0.00, 0.50, 1.00), 'Ocean':(0.00, 0.25, 0.50), 'Midnight':(0.00, 0.00, 0.50), 'Blueberry':(0.00, 0.00, 1.00), 'Orchid':(0.40, 0.40, 1.00), 'Lavender':(0.80, 0.40, 1.00), 'Grape':(0.50, 0.00, 1.00), 'Eggplant':(0.25, 0.00, 0.50), 'Plum':(0.50, 0.00, 0.50), 'Magenta':(1.00, 0.00, 1.00), 'Bubblegum':(1.00, 0.40, 1.00), 'Carnation':(1.00, 0.44, 0.81), 'Strawberry':(1.00, 0.00, 0.50), 'Maroon':(0.50, 0.00, 0.25), 'Black':(0.00, 0.00, 0.00), '90% Gray':(0.90, 0.90, 0.90), '80% Gray':(0.80, 0.80, 0.80), '70% Gray':(0.70, 0.70, 0.70), '60% Gray':(0.60, 0.60, 0.60), '50% Gray':(0.50, 0.50, 0.50), '40% Gray':(0.40, 0.40, 0.40), '30% Gray':(0.30, 0.30, 0.30), '20% Gray':(0.20, 0.20, 0.20), '10% Gray':(0.10, 0.10, 0.10), 'White':(1.00, 1.00, 1.00) }
-