Script:System/colors.js

From Spherical
< Script:System
Revision as of 20:27, 2 August 2013 by Apollolux (talk | contribs) (created from http://web.archive.org/web/20100621062552/http://www.spheredev.org/wiki/Colors.js_%28system_script%29)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The system script colors.js consists of eight Sphere color objects that represent the eight standard colors:

  • Black
  • White
  • Red
  • Green
  • Blue
  • Cyan
  • Magenta
  • Yellow

Usage

RequireSystemScript("colors.js");


Example

RequireSystemScript("colors.js");
Rectangle(0, 0, 100, 100, Magenta);
FlipScreen();