Skip to content

PhetColorScheme

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/PhetColorScheme.ts for the most up-to-date information.

Overview

Colors that are specific to PhET simulations. Reuse these in sims whenever possible to facilitate uniformity across sims. These should all be instances of phet.scenery.Color, since {Color} can typically be used anywhere but {string} cannot.

This is based on the google doc here: https://docs.google.com/spreadsheets/d/1mNsOWSbcoO-Ox2evxJij5Lix4HTZbXKbFgMlPe9W-u0/edit#gid=0

@author Sam Reid (PhET Interactive Simulations) @author Chris Malley (PixelZoom, Inc.)

Source Code

See the source for PhetColorScheme.ts in the scenery-phet repository.