# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# colors.colors()

## Syntax

    colors(query, top=5, path="colors/queries/")

## Description

Harvests colors for given query, returned as a Colors object. Retrieves the top relevant colors for all colors examined. The harvest is automatically saved as an XML-file at path, so the internet is never consulted twice for the same query.

## Example

    import colors
    c = colors.colors("sky", top=3)