Advertisement
CompanionWulf

Global Colors Module (GCM)

Mar 4th, 2015
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 21.27 KB | None | 0 0
  1. =begin
  2. ╔══════════════════════════════════════════════════════════════════════════════╗
  3. ║ GLOBAL COLORS MODULE (GCM)                                                   ║
  4. ╟──────────────────────────────────────────────────────────────────────────────╢
  5. ║   Version        : 2.0                                                       ║
  6. ║   Author         : Companion Wulf                                            ║
  7. ║   Platforms      : RMXP/VX/VXA                                               ║
  8. ║   Release Date   : 10 September 2012                                         ║
  9. ║   Last Update    : 19 October 2013                                           ║
  10. ║   Demo Version   : N/A                                                       ║
  11. ║   Demo Date      : N/A                                                       ║
  12. ╟──────────────────────────────────────────────────────────────────────────────╢
  13. ║ ◄ Websites ►                                                                 ║
  14. ╟──────────────────────────────────────────────────────────────────────────────╢
  15. ║   Website        : http://rpgmakertimes.info                                 ║
  16. ║   Main Blog      : http://blog.rpgmakertimes.info                            ║
  17. ║   Companion Blog : http://rpgmakertimes.blogspot.com                         ║
  18. ║   Otherworld     : http://projects.rpgmakertimes.info/otherworld             ║
  19. ║                                                                              ║
  20. ╠══════════════════════════════════════════════════════════════════════════════╣
  21. ║ ◄ DESCRIPTION ►                                                              ║
  22. ╟──────────────────────────────────────────────────────────────────────────────╢
  23. ║     The  Global Colors Module (GCM) is where  you can define  your           ║
  24. ║     own colours.  This module contains most of the standard colour           ║
  25. ║     codes, including colour variations, converted to RGB.                    ║
  26. ║                                                                              ║
  27. ║     Each  colour type has been  alphabetised and categorised  into           ║
  28. ║     their varying hues.  Capitalised colours are the most commonly           ║
  29. ║     used.  These ARE case sensitive.                                         ║
  30. ║                                                                              ║
  31. ╠══════════════════════════════════════════════════════════════════════════════╣
  32. ║ ◄ INSTALLATION ►                                                             ║
  33. ╟──────────────────────────────────────────────────────────────────────────────╢
  34. ║     Place between "Materials" and "Main Process".                            ║
  35. ║                                                                              ║
  36. ╠══════════════════════════════════════════════════════════════════════════════╣
  37. ║ ◄ KNOWN COMPATABILITY ISSUES ►                                               ║
  38. ╟──────────────────────────────────────────────────────────────────────────────╢
  39. ║     This module  MUST be placed above all other scripts,  otherwise          ║
  40. ║     an error will occur.                                                     ║
  41. ║                                                                              ║
  42. ╠══════════════════════════════════════════════════════════════════════════════╣
  43. ║ ◄ REQUIRED SCRIPTS ►                                                         ║
  44. ╟──────────────────────────────────────────────────────────────────────────────╢
  45. ║     The GCM requires  no other  scripts to run,  but for some of my          ║
  46. ║     scripts, notably the Q-Engine and its add-ons,  the GCM is req-          ║
  47. ║     uired to run them.                                                       ║
  48. ║                                                                              ║
  49. ╠══════════════════════════════════════════════════════════════════════════════╣
  50. ║ ◄ GCM VERSION HISTORY ►                                                      ║
  51. ╟──────────────────────────────────────────────────────────────────────────────╢
  52. ║     The version history tracking will be changing to the following           ║
  53. ║     format:                                                                  ║
  54. ║                                                                              ║
  55. ║         Release.Updates                                                      ║
  56. ║                                                                              ║
  57. ║     Release numbers indicate public release versions.                        ║
  58. ║                                                                              ║
  59. ║     Updates refers to new scripts/scriptlets (both major and minor           ║
  60. ║     updates).                                                                ║
  61. ║                                                                              ║
  62. ╠══════════════════════════════════════════════════════════════════════════════╣
  63. ║ ◄ Updates Version History ►                                                  ║
  64. ╟──────────────────────────────────────────────────────────────────────────────╢
  65. ║ v2.0 (19-Oct-2013)                                                           ║
  66. ║   ● Categorized colors for easier reference                                  ║
  67. ╟──────────────────────────────────────────────────────────────────────────────╢
  68. ║ v1.5 (21-Sep-2012)                                                           ║
  69. ║   ● Add: 60 more colors (128)                                                ║
  70. ╟──────────────────────────────────────────────────────────────────────────────╢
  71. ║ v1.0 (21-Sep-2012)                                                           ║
  72. ║   ● Add: 68 basic colors (80)                                                ║
  73. ╟──────────────────────────────────────────────────────────────────────────────╢
  74. ║ v0.5 (10-Sep-2012)                                                           ║
  75. ║   ● Add: 12 most commonly used colors (12)                                   ║
  76. ║                                                                              ║
  77. ╟──────────────────────────────────────────────────────────────────────────────╢
  78. ║ Number of colors/hues index                                                  ║
  79. ╟──────────────────────────────────────────────────────────────────────────────╢
  80. ║   ● Blacks/Grays (8)                                                         ║
  81. ║   ● Blues (25)                                                               ║
  82. ║   ● Browns (13)                                                              ║
  83. ║   ● Greens (20)                                                              ║
  84. ║   ● Pinks/Purples (18)                                                       ║
  85. ║   ● Reds/Oranges (10)                                                        ║
  86. ║   ● Whites/Pastels (26)                                                      ║
  87. ║   ● Yellows (8)                                                              ║
  88. ║                                                                              ║
  89. ║   ■ TOTAL: 128                                                               ║
  90. ║                                                                              ║
  91. ╚══════════════════════════════════════════════════════════════════════════════╝
  92. =end
  93.  
  94. $imported = {} if $imported == nil; $imported["CWColors"] = true
  95.  
  96. module CW_GLOBAL_COLORS
  97.   #─────────────────────────────────────────────────────────────────────────────
  98.   # ● Blacks/Grays (8)
  99.   #─────────────────────────────────────────────────────────────────────────────
  100.   BLACK                 = Color.new(  0,  0,  0)
  101.   DarkSlateGray         = Color.new( 49, 79, 79)
  102.   DimGray               = Color.new(105,105,105)
  103.   Maroon                = Color.new(139, 28, 98)
  104.   SlateGray             = Color.new(112,138,144)
  105.   LightSlateGray        = Color.new(119,136,153)
  106.   GRAY                  = Color.new(190,190,190)
  107.   LightGray             = Color.new(211,211,211)
  108.  
  109.   #─────────────────────────────────────────────────────────────────────────────
  110.   # ● Blues (25)
  111.   #─────────────────────────────────────────────────────────────────────────────
  112.   BLUE                  = Color.new(  0,  0,255)
  113.   CadetBlue             = Color.new( 95,158,160)
  114.   CornflowerBlue        = Color.new(100,149,237)
  115.   CYAN                  = Color.new(  0,255,255)
  116.   DarkSlateBlue         = Color.new( 72, 61,139)
  117.   DarkTurquoise         = Color.new(  0,206,209)
  118.   DeepSkyBlue           = Color.new(  0,191,255)
  119.   DodgerBlue            = Color.new( 30,144,255)
  120.   LightBlue             = Color.new(173,216,230)
  121.   LightCyan             = Color.new(224,255,255)
  122.   LightSkyBlue          = Color.new(135,206,250)
  123.   LightSlateBlue        = Color.new(132,112,255)
  124.   LightSteelBlue        = Color.new(176,196,222)
  125.   MediumBlue            = Color.new(  0,  0,205)
  126.   MediumSlateBlue       = Color.new(123,104,238)
  127.   MediumTurquoise       = Color.new( 72,209,204)
  128.   MidnightBlue          = Color.new( 25, 25,112)
  129.   NAVY                  = Color.new(  0,  0,128)
  130.   PaleTurquoise         = Color.new(175,238,238)
  131.   PowderBlue            = Color.new(176,224,230)
  132.   RoyalBlue             = Color.new( 65,105,225)
  133.   SkyBlue               = Color.new(135,206,250)
  134.   SlateBlue             = Color.new(106, 90,205)
  135.   SteelBlue             = Color.new( 70,130,180)
  136.   Turquoise             = Color.new( 64,224,208)
  137.  
  138.   #─────────────────────────────────────────────────────────────────────────────
  139.   # ● Browns (13)
  140.   #─────────────────────────────────────────────────────────────────────────────
  141.   Beige                 = Color.new(245,245,220)
  142.   BROWN                 = Color.new(165, 42, 42)
  143.   Burlywood             = Color.new(222,184,135)
  144.   Chocolate             = Color.new(210,105, 30)
  145.   Firebrick             = Color.new(178, 34, 34)
  146.   IndianRed             = Color.new(205, 92, 92)
  147.   Peru                  = Color.new(205,133, 63)
  148.   RosyBrown             = Color.new(188,143,143)
  149.   SaddleBrown           = Color.new(139, 69, 19)
  150.   SandyBrown            = Color.new(244,164, 96)
  151.   Sienna                = Color.new(160, 82, 45)
  152.   Tan                   = Color.new(210,180,140)
  153.   Wheat                 = Color.new(245,222,179)
  154.  
  155.   #─────────────────────────────────────────────────────────────────────────────
  156.   # ● Greens (20)
  157.   #─────────────────────────────────────────────────────────────────────────────
  158.   Aquamarine            = Color.new(127,255,212)
  159.   Chartreuse            = Color.new(127,255,  0)
  160.   DarkGreen             = Color.new(  0,100,  0)
  161.   DarkKhaki             = Color.new(189,183,107)
  162.   DarkOliveGreen        = Color.new( 85,107, 47)
  163.   DarkSeaGreen          = Color.new(143,188,143)
  164.   ForestGreen           = Color.new( 34,139, 34)
  165.   GREEN                 = Color.new(  0,255,  0)
  166.   GreenYellow           = Color.new(173,255, 47)
  167.   Khaki                 = Color.new(240,230,140)
  168.   LawnGreen             = Color.new(124,252,  0)
  169.   LightSeaGreen         = Color.new( 32,178,170)
  170.   LimeGreen             = Color.new( 50,205, 50)
  171.   MediumAquamarine      = Color.new(102,205,170)
  172.   MediumSeaGreen        = Color.new( 60,179,113)
  173.   MediumSpringGreen     = Color.new(  0,250,154)
  174.   OliveDrab             = Color.new(107,142, 35)
  175.   PaleGreen             = Color.new(152,251,152)
  176.   SeaGreen              = Color.new( 46,139, 87)
  177.   SpringGreen           = Color.new(  0,255,127)
  178.   YellowGreen           = Color.new(154,205, 50)
  179.  
  180.   #─────────────────────────────────────────────────────────────────────────────
  181.   # ● Pinks/Purples (18)
  182.   #─────────────────────────────────────────────────────────────────────────────
  183.   HotPink               = Color.new(255,105,180)
  184.   DeepPink              = Color.new(255, 20,147)
  185.   PINK                  = Color.new(255,192,203)
  186.   LightPink             = Color.new(255,182,193)
  187.   PaleVioletRed         = Color.new(219,112,147)
  188.   MAROON                = Color.new(176, 48, 96)
  189.   MediumVioletRed       = Color.new(199, 21,133)
  190.   VioletRed             = Color.new(208, 32,144)
  191.   Violet                = Color.new(238,130,238)
  192.   Plum                  = Color.new(221,160,221)
  193.   Orchid                = Color.new(218,112,214)
  194.   MediumOrchid          = Color.new(186, 85,211)
  195.   DarkOrchid            = Color.new(153, 50,204)
  196.   DarkViolet            = Color.new(148,  0,211)
  197.   BlueViolet            = Color.new(138, 43,226)
  198.   PURPLE                = Color.new(160, 32,240)
  199.   MediumPurple          = Color.new(147,112,219)
  200.   Thistle               = Color.new(216,191,216)
  201.  
  202.   #─────────────────────────────────────────────────────────────────────────────
  203.   # ● Reds/Oranges (10)
  204.   #─────────────────────────────────────────────────────────────────────────────
  205.   DarkSalmon            = Color.new(233,150,122)
  206.   Salmon                = Color.new( 50,128,114)
  207.   LightSalmon           = Color.new( 55,160,122)
  208.   ORANGE                = Color.new(255,165,  0)
  209.   DarkOrange            = Color.new(255,140,  0)
  210.   Coral                 = Color.new(255,127, 80)
  211.   LightCoral            = Color.new(240,128,128)
  212.   Tomato                = Color.new(255, 99, 71)
  213.   OrangeRed             = Color.new(255, 69,  0)
  214.   RED                   = Color.new(255,  0,  0)
  215.  
  216.   #─────────────────────────────────────────────────────────────────────────────
  217.   # ● Whites/Pastels (26)
  218.   #─────────────────────────────────────────────────────────────────────────────
  219.   AliceBlue             = Color.new(240,248,255)
  220.   AntiqueWhite          = Color.new(250,235,215)
  221.   Azure                 = Color.new(240,255,255)
  222.   Bisque                = Color.new(255,228,196)
  223.   BlanchedAlmond        = Color.new(255,235,205)
  224.   Cornsilk              = Color.new(255,248,220)
  225.   FloralWhite           = Color.new(255,250,240)
  226.   Gainsboro             = Color.new(220,220,220)
  227.   GhostWhite            = Color.new(248,248,255)
  228.   Honeydew              = Color.new(240,255,240)
  229.   Ivory                 = Color.new(255,255,240)
  230.   Lavender              = Color.new(230,230,250)
  231.   LavenderBlush         = Color.new(255,240,245)
  232.   LemonChiffon          = Color.new(255,250,205)
  233.   Linen                 = Color.new(240,240,230)
  234.   MintCream             = Color.new(245,255,250)
  235.   MistyRose             = Color.new(255,228,225)
  236.   Moccasin              = Color.new(255,228,181)
  237.   NavajoWhite           = Color.new(255,222,173)
  238.   OldLace               = Color.new(253,245,230)
  239.   PapayaWhip            = Color.new(255,239,213)
  240.   PeachPuff             = Color.new(255,218,185)
  241.   Seashell              = Color.new(255,245,238)
  242.   Snow                  = Color.new(255,250,250)
  243.   WHITE                 = Color.new(255,255,255)
  244.   WhiteSmoke            = Color.new(245,245,245)
  245.  
  246.   #─────────────────────────────────────────────────────────────────────────────
  247.   # ● Yellows (8)
  248.   #─────────────────────────────────────────────────────────────────────────────
  249.   DarkGoldenrod         = Color.new(184,134, 11)
  250.   GOLD                  = Color.new(255,215,  0)
  251.   Goldenrod             = Color.new(218,165, 32)
  252.   LightGoldenrod        = Color.new(238,221,130)
  253.   LightGoldenrodYellow  = Color.new(250,250,210)
  254.   LightYellow           = Color.new(255,255,224)
  255.   PaleGoldenrod         = Color.new(238,232,170)
  256.   YELLOW                = Color.new(255,255,  0)
  257. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement