Posted By

adrianparr on 11/07/09


Tagged

hex colours colour color common colors values constants static uint const


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mali


Common Colour Values as Constants


 / Published in: ActionScript 3
 

  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  

You need to login to post a comment.