Functional Problem Solving (CSC 151 2014F) : Reference
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Rubric] - [Calendar]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Readings]
Reference: [Setup] [VM] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2014S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
(irgb-new
r
g
b
)
(irgb
r
g
b
)
(irgb-red
irgb-color
)
(irgb-green
color
)
(irgb-blue
irgb-color
)
(irgb?
value
)
value
can be interpreted
as an integer-encoded RGB color. Warning! Almost any integer
can be interpreted as an integer-encoded RGB color.
(irgb->color-name
irgb-color
)
(irgb->hsv
irgb-color
)
(irgb->rgb-list
irgb-color
)
(irgb->string
irgb-color
)
(color-name->irgb
string
)
(color->irgb
string
)
(color->hsv
color
)
(rgb-list->irgb
rgb-lst
)
(r g b)
into an integer-encoded RGB color.
(irgb-lighter
irgb-color
)
(irgb-darker
irgb-color
)
(irgb-redder
irgb-color
)
(irgb-greener
irgb-color
)
(irgb-bluer
irgb-color
)
(irgb-rotate
irgb-color
)
(irgb-phaseshift
irgb-color
)
(irgb-complement
irgb-color
)
(irgb-map
irgb-color
fun
)
fun
to
each component of color
.
(irgb->hue
irgb-color
)
(irgb->saturation
irgb-color
)
(irgb->value
irgb-color
)