color50.core_functions

Four standalone functions designed to streamline color selection and usage.

Use the rgb, hexcode, and css functions to initialize Color objects with familiar names and formats. Use the colorize decorator function to change the color of a whole function’s output.

Functions

colorize(color)

Alter the color of a given function's standard output.

css(colorname)

Return a Color object based on a specified CSS color name.

hexcode(code)

Return a Color object based on a specified HEX color code.

rgb(red, green, blue)

Return a Color object based on specified RGB values.