skip to main |skip to sidebar

2008年4月6日

[AS3,Color]常用的一些颜色的常量

/**
* The color white.
*/
public static const WHITE:uint = 0xFFFFFFFF;

/**
* The color light gray.
*/
public static const LIGHT_GRAY:uint = 0xFFC0C0C0;

/**
* The color gray.
*/
public static const GRAY:uint = 0xFF808080;

/**
* The color dark gray.
*/
public static const DARK_GRAY:uint = 0xFF404040;

/**
* The color black.
*/
public static const BLACK:uint = 0xFF000000;

/**
* The color red.
*/
public static const RED:uint = 0xFFFF0000;

/**
* The color pink.
*/
public static const PINK:uint = 0xFFFFAFAF;

/**
* The color orange.
*/
public static const ORANGE:uint = 0xFFFFC800;

/**
* The color yellow.
*/
public static const YELLOW:uint = 0xFFFFFF00;

/**
* The color green.
*/
public static const GREEN:uint = 0xFF00FF00;

/**
* The color magenta.
*/
public static const MAGENTA:uint = 0xFFFF00FF;

/**
* The color cyan.
*/
public static const CYAN:uint = 0xFF00FFFF;

/**
* The color blue.
*/
public static const BLUE:uint = 0xFF0000FF;