Color sets are classified by size and by complexity.

## Complexity

A color set is *compound* if it is constructed from other color sets, otherwise it is *simple*.

## Size

Color sets can be classified as *large* or *small*. This distinction determines which predefined functions are meaningful for a particular color set.

A color set is large if it contains too many (default 100) elements to enumerate, otherwise it is small.

- Unit color sets, boolean color sets, index color sets, and enumerated color sets are small.
- Integer color sets are small if and only if they include the

specification and contain no more than 100 elements.**with** - String color sets are small if and only if they include the

…**with**

specification and contain no more than 100 elements.**and** - Product color sets, record color sets, and union color sets are small if and only if all their component color sets are small and contain no more than 100 elements.
- List color sets are small if and only if their component color set is small
*and*they include the

specification and contain no more than 100 elements.**with** - Subset color sets are small if and only if either their component color set is small or their subset specification is a list and contains no more than 100 elements.

You must be logged in to post a comment.