#5605: Construct Color objects using hsl and hsv values
-------------------------+--------------------------------------------------
Reporter: jason | Owner: was
Type: enhancement | Status: closed
Priority: minor | Milestone: sage-4.4.2
Component: graphics | Resolution: fixed
Keywords: | Author:
Upstream: N/A | Reviewer:
Merged: | Work_issues:
-------------------------+--------------------------------------------------
Changes (by mvngu):
* status: new => closed
* resolution: => fixed
Comment:
Close as fixed:
{{{
[mv...@sage ~]$ sage
----------------------------------------------------------------------
| Sage Version 4.4.1, Release Date: 2010-05-02 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: Color(0.5, 1.0, 1, space='hsv')
RGB color (0.0, 1.0, 1.0)
sage: Color(0.5, 1.0, 1, space='hls')
RGB color (1.0, 1.0, 1.0)
sage: Color(0.25, 0.5, 0.5, space='hls')
RGB color (0.50000000000000011, 0.75, 0.25)
sage: Color(0.25, 0.5, 0.5, space='hsv')
RGB color (0.375, 0.5, 0.25)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5605#comment:5>
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.