#5601: Colors: CSS3/SVG presets, construct from HSL/HSV, lighter/darker methods,
linearly combine
---------------------------+------------------------------------------------
Reporter: jason | Owner: was
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.3
Component: graphics | Keywords:
Work_issues: | Author: Mitesh Patel
Upstream: N/A | Reviewer:
Merged: |
---------------------------+------------------------------------------------
Description changed by mpatel:
Old description:
> See the end of http://groups.google.com/group/sage-
> support/browse_thread/thread/44971aa416574675
>
> * predefining the colors recognized in strings as Color objects in the
> global namespace, i.e.,
> {{{
> "red" : (1.0,0.0,0.0),
> "orange": (1.0,.5,0.0),
> "yellow": (1.0,1.0,0.0),
> "green" : (0.0,1.0,0.0),
> "blue" : (0.0,0.0,1.0),
> "purple": (.5,0.0,1.0),
> "white" : (1.0,1.0,1.0),
> "black" : (0.0,0.0,0.0),
> "grey" : (.5,.5,.5)
> }}}
>
> * predefine a huge number of colors (all x11 or html color strings?), but
> stick them in the color
> namespace, so they would be accessed like color.goldenrod
>
> Related tickets:
>
> * #5601 - predefine colors in Sage.
> * #5602 - make .lighter() and .darker() methods for Sage Color objects.
> * #5603 - make a .mix() method for Sage color objects.
> * #5604 - average Color objects when adding them together.
> * #5605 - Construct Color objects using hsl and hsv values.
New description:
The patch
* [attachment:trac_5601-builtin_colors_v6.patch]
actually covers
* #5601 - predefine colors in Sage. [Originally]
* #5602 - make .lighter() and .darker() methods for Sage Color objects.
* #5604 - average Color objects when adding them together.
* #5605 - Construct Color objects using hsl and hsv values.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5601#comment:29>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.