Samee24 / Ultimate-color-toolkit

A Scheme program that generates a given RGB color's complement, analogous colors, tints, shades and triad range.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ultimate-color-toolkit

A Scheme program that generates a given RGB color's complement, analogous colors, tints, shades and triad range.

Procedure

 ultimate-color-scheme 

Parameters

 rgb, an integer  

Purpose

 To generate a variety of different variations of rgb.

Produces

 disp, a display showing rgb's complement, analogous colors, tints, shades and triad range.

Preconditions

 rgb must be a valid and defined rgb value.

Postconditions

  when the procedure is applied to disp's complement value, rgb is returned     

Inspired by a Sam Rebelsky problem in CSC 151 at Grinnell College.

About

A Scheme program that generates a given RGB color's complement, analogous colors, tints, shades and triad range.


Languages

Language:Racket 100.0%