Common Colour Values as Constants


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. private static const RED:uint = 0xFF0000;
  2. private static const GREEN:uint = 0x00FF00;
  3. private static const BLUE:uint = 0x0000FF;
  4. private static const BLACK:uint = 0x000000;
  5. private static const WHITE:uint = 0xFFFFFF;
  6. private static const CYAN:uint = 0x00FFFF;
  7. private static const MAGENTA:uint = 0xFF00FF;
  8. private static const YELLOW:uint = 0xFFFF00;
  9. private static const LIGHT_GREY:uint = 0xCCCCCC;
  10. private static const MID_GREY:uint = 0x999999;
  11. private static const DARK_GREY:uint = 0x666666;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.