Module: Colours::Module256Colours
- Defined in:
- lib/colours/autogenerated/256_colours_methods.rb,
lib/colours/module_256_colours/module_256_colours.rb,
lib/colours/autogenerated/256_colours_instance_methods.rb
Overview
::Colours::Module256Colours
Constant Summary
collapse
- BLOCK_START =
#
Colours::Module256Colours::BLOCK_START
#
"\x1b[48;5;"
- BLOCK_END =
#
Colours::Module256Colours::BLOCK_END
#
"\x1b[0m"
Class Method Summary
collapse
-
.aqua(i = '', &block) ⇒ Object
# === Colours::Module256Colours.aqua ========================================================================= #.
-
.aquamarine1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.aquamarine1 ========================================================================= #.
-
.aquamarine3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.aquamarine3 ========================================================================= #.
-
.autogenerate_256_colours_methods(into = HOME_DIRECTORY_OF_USER_X+ 'programming/ruby/src/'\ 'colours/lib/colours/autogenerated/'\ '256_colours_methods.rb') ⇒ Object
# === Colours::Module256Colours.autogenerate_256_colours_methods (autogenerate tag).
-
.autogenerate_256_colours_methods_for_instance_methods(into = HOME_DIRECTORY_OF_USER_X+ 'programming/ruby/src/'\ 'colours/lib/colours/autogenerated/'\ '256_colours_instance_methods.rb') ⇒ Object
# === Colours::Module256Colours.autogenerate_256_colours_methods_for_instance_methods.
-
.black(i = '', &block) ⇒ Object
# === Colours::Module256Colours.black ========================================================================= #.
-
.blue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.blue ========================================================================= #.
-
.blue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.blue1 ========================================================================= #.
-
.blue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.blue3 ========================================================================= #.
-
.blueviolet(i = '', &block) ⇒ Object
# === Colours::Module256Colours.blueviolet ========================================================================= #.
-
.cadetblue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.cadetblue ========================================================================= #.
-
.chartreuse1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.chartreuse1 ========================================================================= #.
-
.chartreuse2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.chartreuse2 ========================================================================= #.
-
.chartreuse3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.chartreuse3 ========================================================================= #.
-
.chartreuse4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.chartreuse4 ========================================================================= #.
-
.cornflowerblue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.cornflowerblue ========================================================================= #.
-
.cornsilk1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.cornsilk1 ========================================================================= #.
-
.cyan1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.cyan1 ========================================================================= #.
-
.cyan2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.cyan2 ========================================================================= #.
-
.cyan3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.cyan3 ========================================================================= #.
-
.darkblue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkblue ========================================================================= #.
-
.darkcyan(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkcyan ========================================================================= #.
-
.darkgoldenrod(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkgoldenrod ========================================================================= #.
-
.darkgreen(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkgreen ========================================================================= #.
-
.darkkhaki(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkkhaki ========================================================================= #.
-
.darkmagenta(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkmagenta ========================================================================= #.
-
.darkolivegreen1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkolivegreen1 ========================================================================= #.
-
.darkolivegreen2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkolivegreen2 ========================================================================= #.
-
.darkolivegreen3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkolivegreen3 ========================================================================= #.
-
.darkorange(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkorange ========================================================================= #.
-
.darkorange3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkorange3 ========================================================================= #.
-
.darkred(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkred ========================================================================= #.
-
.darkseagreen(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkseagreen ========================================================================= #.
-
.darkseagreen1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkseagreen1 ========================================================================= #.
-
.darkseagreen2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkseagreen2 ========================================================================= #.
-
.darkseagreen3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkseagreen3 ========================================================================= #.
-
.darkseagreen4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkseagreen4 ========================================================================= #.
-
.darkslategray1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkslategray1 ========================================================================= #.
-
.darkslategray2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkslategray2 ========================================================================= #.
-
.darkslategray3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkslategray3 ========================================================================= #.
-
.darkturquoise(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkturquoise ========================================================================= #.
-
.darkviolet(i = '', &block) ⇒ Object
# === Colours::Module256Colours.darkviolet ========================================================================= #.
-
.dataset? ⇒ Boolean
# === Colours::Module256Colours.dataset? ========================================================================= #.
-
.deeppink1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deeppink1 ========================================================================= #.
-
.deeppink2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deeppink2 ========================================================================= #.
-
.deeppink3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deeppink3 ========================================================================= #.
-
.deeppink4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deeppink4 ========================================================================= #.
-
.deepskyblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deepskyblue1 ========================================================================= #.
-
.deepskyblue2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deepskyblue2 ========================================================================= #.
-
.deepskyblue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deepskyblue3 ========================================================================= #.
-
.deepskyblue4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.deepskyblue4 ========================================================================= #.
-
.display_this_256_colour(id = 9, use_this_text = "Hello world!\n", &block) ⇒ Object
# === Colours::Module256Colours.display_this_256_colour.
-
.dodgerblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.dodgerblue1 ========================================================================= #.
-
.dodgerblue2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.dodgerblue2 ========================================================================= #.
-
.dodgerblue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.dodgerblue3 ========================================================================= #.
-
.fuchsia(i = '', &block) ⇒ Object
# === Colours::Module256Colours.fuchsia ========================================================================= #.
-
.gold1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.gold1 ========================================================================= #.
-
.gold3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.gold3 ========================================================================= #.
-
.green(i = '', &block) ⇒ Object
# === Colours::Module256Colours.green ========================================================================= #.
-
.green1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.green1 ========================================================================= #.
-
.green3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.green3 ========================================================================= #.
-
.green4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.green4 ========================================================================= #.
-
.greenyellow(i = '', &block) ⇒ Object
# === Colours::Module256Colours.greenyellow ========================================================================= #.
-
.grey(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey ========================================================================= #.
-
.grey0(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey0 ========================================================================= #.
-
.grey100(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey100 ========================================================================= #.
-
.grey11(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey11 ========================================================================= #.
-
.grey15(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey15 ========================================================================= #.
-
.grey19(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey19 ========================================================================= #.
-
.grey23(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey23 ========================================================================= #.
-
.grey27(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey27 ========================================================================= #.
-
.grey3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey3 ========================================================================= #.
-
.grey30(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey30 ========================================================================= #.
-
.grey35(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey35 ========================================================================= #.
-
.grey37(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey37 ========================================================================= #.
-
.grey39(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey39 ========================================================================= #.
-
.grey42(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey42 ========================================================================= #.
-
.grey46(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey46 ========================================================================= #.
-
.grey50(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey50 ========================================================================= #.
-
.grey53(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey53 ========================================================================= #.
-
.grey54(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey54 ========================================================================= #.
-
.grey58(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey58 ========================================================================= #.
-
.grey62(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey62 ========================================================================= #.
-
.grey63(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey63 ========================================================================= #.
-
.grey66(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey66 ========================================================================= #.
-
.grey69(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey69 ========================================================================= #.
-
.grey7(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey7 ========================================================================= #.
-
.grey70(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey70 ========================================================================= #.
-
.grey74(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey74 ========================================================================= #.
-
.grey78(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey78 ========================================================================= #.
-
.grey82(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey82 ========================================================================= #.
-
.grey84(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey84 ========================================================================= #.
-
.grey85(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey85 ========================================================================= #.
-
.grey89(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey89 ========================================================================= #.
-
.grey93(i = '', &block) ⇒ Object
# === Colours::Module256Colours.grey93 ========================================================================= #.
-
.honeydew2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.honeydew2 ========================================================================= #.
-
.hotpink(i = '', &block) ⇒ Object
# === Colours::Module256Colours.hotpink ========================================================================= #.
-
.hotpink2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.hotpink2 ========================================================================= #.
-
.hotpink3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.hotpink3 ========================================================================= #.
-
.indianred(i = '', &block) ⇒ Object
# === Colours::Module256Colours.indianred ========================================================================= #.
-
.indianred1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.indianred1 ========================================================================= #.
-
.is_this_a_256_colour?(i, dataset = dataset? ) ⇒ Boolean
# === Colours::Module256Colours.is_this_a_256_colour?.
-
.khaki1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.khaki1 ========================================================================= #.
-
.khaki3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.khaki3 ========================================================================= #.
-
.lightcoral(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightcoral ========================================================================= #.
-
.lightcyan1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightcyan1 ========================================================================= #.
-
.lightcyan3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightcyan3 ========================================================================= #.
-
.lightgoldenrod1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightgoldenrod1 ========================================================================= #.
-
.lightgoldenrod2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightgoldenrod2 ========================================================================= #.
-
.lightgoldenrod3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightgoldenrod3 ========================================================================= #.
-
.lightgreen(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightgreen ========================================================================= #.
-
.lightpink1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightpink1 ========================================================================= #.
-
.lightpink3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightpink3 ========================================================================= #.
-
.lightpink4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightpink4 ========================================================================= #.
-
.lightsalmon1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightsalmon1 ========================================================================= #.
-
.lightsalmon3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightsalmon3 ========================================================================= #.
-
.lightseagreen(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightseagreen ========================================================================= #.
-
.lightskyblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightskyblue1 ========================================================================= #.
-
.lightskyblue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightskyblue3 ========================================================================= #.
-
.lightslateblue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightslateblue ========================================================================= #.
-
.lightslategrey(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightslategrey ========================================================================= #.
-
.lightsteelblue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightsteelblue ========================================================================= #.
-
.lightsteelblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightsteelblue1 ========================================================================= #.
-
.lightsteelblue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightsteelblue3 ========================================================================= #.
-
.lightyellow3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lightyellow3 ========================================================================= #.
-
.lime(i = '', &block) ⇒ Object
# === Colours::Module256Colours.lime ========================================================================= #.
-
.load_the_default_dataset(i = FILE_256_COLOURS) ⇒ Object
# === Colours::Module256Colours.load_the_default_dataset ========================================================================= #.
-
.magenta1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.magenta1 ========================================================================= #.
-
.magenta2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.magenta2 ========================================================================= #.
-
.magenta3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.magenta3 ========================================================================= #.
-
.maroon(i = '', &block) ⇒ Object
# === Colours::Module256Colours.maroon ========================================================================= #.
-
.mediumorchid(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumorchid ========================================================================= #.
-
.mediumorchid1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumorchid1 ========================================================================= #.
-
.mediumorchid3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumorchid3 ========================================================================= #.
-
.mediumpurple(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumpurple ========================================================================= #.
-
.mediumpurple1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumpurple1 ========================================================================= #.
-
.mediumpurple2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumpurple2 ========================================================================= #.
-
.mediumpurple3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumpurple3 ========================================================================= #.
-
.mediumpurple4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumpurple4 ========================================================================= #.
-
.mediumspringgreen(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumspringgreen ========================================================================= #.
-
.mediumturquoise(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumturquoise ========================================================================= #.
-
.mediumvioletred(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mediumvioletred ========================================================================= #.
-
.mistyrose1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mistyrose1 ========================================================================= #.
-
.mistyrose3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.mistyrose3 ========================================================================= #.
-
.navajowhite1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.navajowhite1 ========================================================================= #.
-
.navajowhite3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.navajowhite3 ========================================================================= #.
-
.navy(i = '', &block) ⇒ Object
# === Colours::Module256Colours.navy ========================================================================= #.
-
.navyblue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.navyblue ========================================================================= #.
-
.olive(i = '', &block) ⇒ Object
# === Colours::Module256Colours.olive ========================================================================= #.
-
.orange1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.orange1 ========================================================================= #.
-
.orange3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.orange3 ========================================================================= #.
-
.orange4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.orange4 ========================================================================= #.
-
.orangered1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.orangered1 ========================================================================= #.
-
.orchid(i = '', &block) ⇒ Object
# === Colours::Module256Colours.orchid ========================================================================= #.
-
.orchid1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.orchid1 ========================================================================= #.
-
.orchid2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.orchid2 ========================================================================= #.
-
.palegreen1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.palegreen1 ========================================================================= #.
-
.palegreen3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.palegreen3 ========================================================================= #.
-
.paleturquoise1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.paleturquoise1 ========================================================================= #.
-
.paleturquoise4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.paleturquoise4 ========================================================================= #.
-
.palevioletred1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.palevioletred1 ========================================================================= #.
-
.pink1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.pink1 ========================================================================= #.
-
.pink3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.pink3 ========================================================================= #.
-
.plum1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.plum1 ========================================================================= #.
-
.plum2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.plum2 ========================================================================= #.
-
.plum3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.plum3 ========================================================================= #.
-
.plum4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.plum4 ========================================================================= #.
-
.purple(i = '', &block) ⇒ Object
# === Colours::Module256Colours.purple ========================================================================= #.
-
.purple3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.purple3 ========================================================================= #.
-
.purple4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.purple4 ========================================================================= #.
-
.red(i = '', &block) ⇒ Object
# === Colours::Module256Colours.red ========================================================================= #.
-
.red1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.red1 ========================================================================= #.
-
.red3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.red3 ========================================================================= #.
-
.return_this_256_colour(id = 9, use_this_text = "Hello world!", dataset = @dataset) ⇒ Object
# === Colours::Module256Colours.return_this_256_colour (return tag).
-
.rosybrown(i = '', &block) ⇒ Object
# === Colours::Module256Colours.rosybrown ========================================================================= #.
-
.royalblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.royalblue1 ========================================================================= #.
-
.salmon1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.salmon1 ========================================================================= #.
-
.sandybrown(i = '', &block) ⇒ Object
# === Colours::Module256Colours.sandybrown ========================================================================= #.
-
.seagreen1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.seagreen1 ========================================================================= #.
-
.seagreen2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.seagreen2 ========================================================================= #.
-
.seagreen3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.seagreen3 ========================================================================= #.
-
.show_256_colour_cube ⇒ Object
# === Colours::Module256Colours.show_256_colour_cube.
-
.show_all_256_colours(&block) ⇒ Object
# === Colours::Module256Colours.show_all_256_colours ========================================================================= #.
-
.silver(i = '', &block) ⇒ Object
# === Colours::Module256Colours.silver ========================================================================= #.
-
.skyblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.skyblue1 ========================================================================= #.
-
.skyblue2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.skyblue2 ========================================================================= #.
-
.skyblue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.skyblue3 ========================================================================= #.
-
.slateblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.slateblue1 ========================================================================= #.
-
.slateblue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.slateblue3 ========================================================================= #.
-
.springgreen1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.springgreen1 ========================================================================= #.
-
.springgreen2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.springgreen2 ========================================================================= #.
-
.springgreen3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.springgreen3 ========================================================================= #.
-
.springgreen4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.springgreen4 ========================================================================= #.
-
.steelblue(i = '', &block) ⇒ Object
# === Colours::Module256Colours.steelblue ========================================================================= #.
-
.steelblue1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.steelblue1 ========================================================================= #.
-
.steelblue3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.steelblue3 ========================================================================= #.
-
.tan(i = '', &block) ⇒ Object
# === Colours::Module256Colours.tan ========================================================================= #.
-
.teal(i = '', &block) ⇒ Object
# === Colours::Module256Colours.teal ========================================================================= #.
-
.thistle1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.thistle1 ========================================================================= #.
-
.thistle3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.thistle3 ========================================================================= #.
-
.turquoise2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.turquoise2 ========================================================================= #.
-
.turquoise4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.turquoise4 ========================================================================= #.
-
.violet(i = '', &block) ⇒ Object
# === Colours::Module256Colours.violet ========================================================================= #.
-
.wheat1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.wheat1 ========================================================================= #.
-
.wheat4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.wheat4 ========================================================================= #.
-
.white(i = '', &block) ⇒ Object
# === Colours::Module256Colours.white ========================================================================= #.
-
.write_this_in_256_colours(this_text = "Hello world!\n", id = rand(256), &block) ⇒ Object
# === Colours::Module256Colours.write_this_in_256_colours.
-
.yellow(i = '', &block) ⇒ Object
# === Colours::Module256Colours.yellow ========================================================================= #.
-
.yellow1(i = '', &block) ⇒ Object
# === Colours::Module256Colours.yellow1 ========================================================================= #.
-
.yellow2(i = '', &block) ⇒ Object
# === Colours::Module256Colours.yellow2 ========================================================================= #.
-
.yellow3(i = '', &block) ⇒ Object
# === Colours::Module256Colours.yellow3 ========================================================================= #.
-
.yellow4(i = '', &block) ⇒ Object
# === Colours::Module256Colours.yellow4 ========================================================================= #.
Instance Method Summary
collapse
-
#aqua(i = '', &block) ⇒ Object
# === aqua ========================================================================= #.
-
#aquamarine1(i = '', &block) ⇒ Object
# === aquamarine1 ========================================================================= #.
-
#aquamarine3(i = '', &block) ⇒ Object
# === aquamarine3 ========================================================================= #.
-
#black(i = '', &block) ⇒ Object
# === black ========================================================================= #.
-
#blue(i = '', &block) ⇒ Object
# === blue ========================================================================= #.
-
#blue1(i = '', &block) ⇒ Object
# === blue1 ========================================================================= #.
-
#blue3(i = '', &block) ⇒ Object
# === blue3 ========================================================================= #.
-
#blueviolet(i = '', &block) ⇒ Object
# === blueviolet ========================================================================= #.
-
#cadetblue(i = '', &block) ⇒ Object
# === cadetblue ========================================================================= #.
-
#chartreuse1(i = '', &block) ⇒ Object
# === chartreuse1 ========================================================================= #.
-
#chartreuse2(i = '', &block) ⇒ Object
# === chartreuse2 ========================================================================= #.
-
#chartreuse3(i = '', &block) ⇒ Object
# === chartreuse3 ========================================================================= #.
-
#chartreuse4(i = '', &block) ⇒ Object
# === chartreuse4 ========================================================================= #.
-
#cornflowerblue(i = '', &block) ⇒ Object
# === cornflowerblue ========================================================================= #.
-
#cornsilk1(i = '', &block) ⇒ Object
# === cornsilk1 ========================================================================= #.
-
#cyan1(i = '', &block) ⇒ Object
# === cyan1 ========================================================================= #.
-
#cyan2(i = '', &block) ⇒ Object
# === cyan2 ========================================================================= #.
-
#cyan3(i = '', &block) ⇒ Object
# === cyan3 ========================================================================= #.
-
#darkblue(i = '', &block) ⇒ Object
# === darkblue ========================================================================= #.
-
#darkcyan(i = '', &block) ⇒ Object
# === darkcyan ========================================================================= #.
-
#darkgoldenrod(i = '', &block) ⇒ Object
# === darkgoldenrod ========================================================================= #.
-
#darkgreen(i = '', &block) ⇒ Object
# === darkgreen ========================================================================= #.
-
#darkkhaki(i = '', &block) ⇒ Object
# === darkkhaki ========================================================================= #.
-
#darkmagenta(i = '', &block) ⇒ Object
# === darkmagenta ========================================================================= #.
-
#darkolivegreen1(i = '', &block) ⇒ Object
# === darkolivegreen1 ========================================================================= #.
-
#darkolivegreen2(i = '', &block) ⇒ Object
# === darkolivegreen2 ========================================================================= #.
-
#darkolivegreen3(i = '', &block) ⇒ Object
# === darkolivegreen3 ========================================================================= #.
-
#darkorange(i = '', &block) ⇒ Object
# === darkorange ========================================================================= #.
-
#darkorange3(i = '', &block) ⇒ Object
# === darkorange3 ========================================================================= #.
-
#darkred(i = '', &block) ⇒ Object
# === darkred ========================================================================= #.
-
#darkseagreen(i = '', &block) ⇒ Object
# === darkseagreen ========================================================================= #.
-
#darkseagreen1(i = '', &block) ⇒ Object
# === darkseagreen1 ========================================================================= #.
-
#darkseagreen2(i = '', &block) ⇒ Object
# === darkseagreen2 ========================================================================= #.
-
#darkseagreen3(i = '', &block) ⇒ Object
# === darkseagreen3 ========================================================================= #.
-
#darkseagreen4(i = '', &block) ⇒ Object
# === darkseagreen4 ========================================================================= #.
-
#darkslategray1(i = '', &block) ⇒ Object
# === darkslategray1 ========================================================================= #.
-
#darkslategray2(i = '', &block) ⇒ Object
# === darkslategray2 ========================================================================= #.
-
#darkslategray3(i = '', &block) ⇒ Object
# === darkslategray3 ========================================================================= #.
-
#darkturquoise(i = '', &block) ⇒ Object
# === darkturquoise ========================================================================= #.
-
#darkviolet(i = '', &block) ⇒ Object
# === darkviolet ========================================================================= #.
-
#deeppink1(i = '', &block) ⇒ Object
# === deeppink1 ========================================================================= #.
-
#deeppink2(i = '', &block) ⇒ Object
# === deeppink2 ========================================================================= #.
-
#deeppink3(i = '', &block) ⇒ Object
# === deeppink3 ========================================================================= #.
-
#deeppink4(i = '', &block) ⇒ Object
# === deeppink4 ========================================================================= #.
-
#deepskyblue1(i = '', &block) ⇒ Object
# === deepskyblue1 ========================================================================= #.
-
#deepskyblue2(i = '', &block) ⇒ Object
# === deepskyblue2 ========================================================================= #.
-
#deepskyblue3(i = '', &block) ⇒ Object
# === deepskyblue3 ========================================================================= #.
-
#deepskyblue4(i = '', &block) ⇒ Object
# === deepskyblue4 ========================================================================= #.
-
#dodgerblue1(i = '', &block) ⇒ Object
# === dodgerblue1 ========================================================================= #.
-
#dodgerblue2(i = '', &block) ⇒ Object
# === dodgerblue2 ========================================================================= #.
-
#dodgerblue3(i = '', &block) ⇒ Object
# === dodgerblue3 ========================================================================= #.
-
#fuchsia(i = '', &block) ⇒ Object
# === fuchsia ========================================================================= #.
-
#gold1(i = '', &block) ⇒ Object
# === gold1 ========================================================================= #.
-
#gold3(i = '', &block) ⇒ Object
# === gold3 ========================================================================= #.
-
#green(i = '', &block) ⇒ Object
# === green ========================================================================= #.
-
#green1(i = '', &block) ⇒ Object
# === green1 ========================================================================= #.
-
#green3(i = '', &block) ⇒ Object
# === green3 ========================================================================= #.
-
#green4(i = '', &block) ⇒ Object
# === green4 ========================================================================= #.
-
#greenyellow(i = '', &block) ⇒ Object
# === greenyellow ========================================================================= #.
-
#grey(i = '', &block) ⇒ Object
# === grey ========================================================================= #.
-
#grey0(i = '', &block) ⇒ Object
# === grey0 ========================================================================= #.
-
#grey100(i = '', &block) ⇒ Object
# === grey100 ========================================================================= #.
-
#grey11(i = '', &block) ⇒ Object
# === grey11 ========================================================================= #.
-
#grey15(i = '', &block) ⇒ Object
# === grey15 ========================================================================= #.
-
#grey19(i = '', &block) ⇒ Object
# === grey19 ========================================================================= #.
-
#grey23(i = '', &block) ⇒ Object
# === grey23 ========================================================================= #.
-
#grey27(i = '', &block) ⇒ Object
# === grey27 ========================================================================= #.
-
#grey3(i = '', &block) ⇒ Object
# === grey3 ========================================================================= #.
-
#grey30(i = '', &block) ⇒ Object
# === grey30 ========================================================================= #.
-
#grey35(i = '', &block) ⇒ Object
# === grey35 ========================================================================= #.
-
#grey37(i = '', &block) ⇒ Object
# === grey37 ========================================================================= #.
-
#grey39(i = '', &block) ⇒ Object
# === grey39 ========================================================================= #.
-
#grey42(i = '', &block) ⇒ Object
# === grey42 ========================================================================= #.
-
#grey46(i = '', &block) ⇒ Object
# === grey46 ========================================================================= #.
-
#grey50(i = '', &block) ⇒ Object
# === grey50 ========================================================================= #.
-
#grey53(i = '', &block) ⇒ Object
# === grey53 ========================================================================= #.
-
#grey54(i = '', &block) ⇒ Object
# === grey54 ========================================================================= #.
-
#grey58(i = '', &block) ⇒ Object
# === grey58 ========================================================================= #.
-
#grey62(i = '', &block) ⇒ Object
# === grey62 ========================================================================= #.
-
#grey63(i = '', &block) ⇒ Object
# === grey63 ========================================================================= #.
-
#grey66(i = '', &block) ⇒ Object
# === grey66 ========================================================================= #.
-
#grey69(i = '', &block) ⇒ Object
# === grey69 ========================================================================= #.
-
#grey7(i = '', &block) ⇒ Object
# === grey7 ========================================================================= #.
-
#grey70(i = '', &block) ⇒ Object
# === grey70 ========================================================================= #.
-
#grey74(i = '', &block) ⇒ Object
# === grey74 ========================================================================= #.
-
#grey78(i = '', &block) ⇒ Object
# === grey78 ========================================================================= #.
-
#grey82(i = '', &block) ⇒ Object
# === grey82 ========================================================================= #.
-
#grey84(i = '', &block) ⇒ Object
# === grey84 ========================================================================= #.
-
#grey85(i = '', &block) ⇒ Object
# === grey85 ========================================================================= #.
-
#grey89(i = '', &block) ⇒ Object
# === grey89 ========================================================================= #.
-
#grey93(i = '', &block) ⇒ Object
# === grey93 ========================================================================= #.
-
#honeydew2(i = '', &block) ⇒ Object
# === honeydew2 ========================================================================= #.
-
#hotpink(i = '', &block) ⇒ Object
# === hotpink ========================================================================= #.
-
#hotpink2(i = '', &block) ⇒ Object
# === hotpink2 ========================================================================= #.
-
#hotpink3(i = '', &block) ⇒ Object
# === hotpink3 ========================================================================= #.
-
#indianred(i = '', &block) ⇒ Object
# === indianred ========================================================================= #.
-
#indianred1(i = '', &block) ⇒ Object
# === indianred1 ========================================================================= #.
-
#is_this_a_256_colour?(i) ⇒ Boolean
# === is_this_a_256_colour? ========================================================================= #.
-
#khaki1(i = '', &block) ⇒ Object
# === khaki1 ========================================================================= #.
-
#khaki3(i = '', &block) ⇒ Object
# === khaki3 ========================================================================= #.
-
#lightcoral(i = '', &block) ⇒ Object
# === lightcoral ========================================================================= #.
-
#lightcyan1(i = '', &block) ⇒ Object
# === lightcyan1 ========================================================================= #.
-
#lightcyan3(i = '', &block) ⇒ Object
# === lightcyan3 ========================================================================= #.
-
#lightgoldenrod1(i = '', &block) ⇒ Object
# === lightgoldenrod1 ========================================================================= #.
-
#lightgoldenrod2(i = '', &block) ⇒ Object
# === lightgoldenrod2 ========================================================================= #.
-
#lightgoldenrod3(i = '', &block) ⇒ Object
# === lightgoldenrod3 ========================================================================= #.
-
#lightgreen(i = '', &block) ⇒ Object
# === lightgreen ========================================================================= #.
-
#lightpink1(i = '', &block) ⇒ Object
# === lightpink1 ========================================================================= #.
-
#lightpink3(i = '', &block) ⇒ Object
# === lightpink3 ========================================================================= #.
-
#lightpink4(i = '', &block) ⇒ Object
# === lightpink4 ========================================================================= #.
-
#lightsalmon1(i = '', &block) ⇒ Object
# === lightsalmon1 ========================================================================= #.
-
#lightsalmon3(i = '', &block) ⇒ Object
# === lightsalmon3 ========================================================================= #.
-
#lightseagreen(i = '', &block) ⇒ Object
# === lightseagreen ========================================================================= #.
-
#lightskyblue1(i = '', &block) ⇒ Object
# === lightskyblue1 ========================================================================= #.
-
#lightskyblue3(i = '', &block) ⇒ Object
# === lightskyblue3 ========================================================================= #.
-
#lightslateblue(i = '', &block) ⇒ Object
# === lightslateblue ========================================================================= #.
-
#lightslategrey(i = '', &block) ⇒ Object
# === lightslategrey ========================================================================= #.
-
#lightsteelblue(i = '', &block) ⇒ Object
# === lightsteelblue ========================================================================= #.
-
#lightsteelblue1(i = '', &block) ⇒ Object
# === lightsteelblue1 ========================================================================= #.
-
#lightsteelblue3(i = '', &block) ⇒ Object
# === lightsteelblue3 ========================================================================= #.
-
#lightyellow3(i = '', &block) ⇒ Object
# === lightyellow3 ========================================================================= #.
-
#lime(i = '', &block) ⇒ Object
# === lime ========================================================================= #.
-
#magenta1(i = '', &block) ⇒ Object
# === magenta1 ========================================================================= #.
-
#magenta2(i = '', &block) ⇒ Object
# === magenta2 ========================================================================= #.
-
#magenta3(i = '', &block) ⇒ Object
# === magenta3 ========================================================================= #.
-
#maroon(i = '', &block) ⇒ Object
# === maroon ========================================================================= #.
-
#mediumorchid(i = '', &block) ⇒ Object
# === mediumorchid ========================================================================= #.
-
#mediumorchid1(i = '', &block) ⇒ Object
# === mediumorchid1 ========================================================================= #.
-
#mediumorchid3(i = '', &block) ⇒ Object
# === mediumorchid3 ========================================================================= #.
-
#mediumpurple(i = '', &block) ⇒ Object
# === mediumpurple ========================================================================= #.
-
#mediumpurple1(i = '', &block) ⇒ Object
# === mediumpurple1 ========================================================================= #.
-
#mediumpurple2(i = '', &block) ⇒ Object
# === mediumpurple2 ========================================================================= #.
-
#mediumpurple3(i = '', &block) ⇒ Object
# === mediumpurple3 ========================================================================= #.
-
#mediumpurple4(i = '', &block) ⇒ Object
# === mediumpurple4 ========================================================================= #.
-
#mediumspringgreen(i = '', &block) ⇒ Object
# === mediumspringgreen ========================================================================= #.
-
#mediumturquoise(i = '', &block) ⇒ Object
# === mediumturquoise ========================================================================= #.
-
#mediumvioletred(i = '', &block) ⇒ Object
# === mediumvioletred ========================================================================= #.
-
#mistyrose1(i = '', &block) ⇒ Object
# === mistyrose1 ========================================================================= #.
-
#mistyrose3(i = '', &block) ⇒ Object
# === mistyrose3 ========================================================================= #.
-
#navajowhite1(i = '', &block) ⇒ Object
# === navajowhite1 ========================================================================= #.
-
#navajowhite3(i = '', &block) ⇒ Object
# === navajowhite3 ========================================================================= #.
-
#navy(i = '', &block) ⇒ Object
# === navy ========================================================================= #.
-
#navyblue(i = '', &block) ⇒ Object
# === navyblue ========================================================================= #.
-
#olive(i = '', &block) ⇒ Object
# === olive ========================================================================= #.
-
#orange1(i = '', &block) ⇒ Object
# === orange1 ========================================================================= #.
-
#orange3(i = '', &block) ⇒ Object
# === orange3 ========================================================================= #.
-
#orange4(i = '', &block) ⇒ Object
# === orange4 ========================================================================= #.
-
#orangered1(i = '', &block) ⇒ Object
# === orangered1 ========================================================================= #.
-
#orchid(i = '', &block) ⇒ Object
# === orchid ========================================================================= #.
-
#orchid1(i = '', &block) ⇒ Object
# === orchid1 ========================================================================= #.
-
#orchid2(i = '', &block) ⇒ Object
# === orchid2 ========================================================================= #.
-
#palegreen1(i = '', &block) ⇒ Object
# === palegreen1 ========================================================================= #.
-
#palegreen3(i = '', &block) ⇒ Object
# === palegreen3 ========================================================================= #.
-
#paleturquoise1(i = '', &block) ⇒ Object
# === paleturquoise1 ========================================================================= #.
-
#paleturquoise4(i = '', &block) ⇒ Object
# === paleturquoise4 ========================================================================= #.
-
#palevioletred1(i = '', &block) ⇒ Object
# === palevioletred1 ========================================================================= #.
-
#pink1(i = '', &block) ⇒ Object
# === pink1 ========================================================================= #.
-
#pink3(i = '', &block) ⇒ Object
# === pink3 ========================================================================= #.
-
#plum1(i = '', &block) ⇒ Object
# === plum1 ========================================================================= #.
-
#plum2(i = '', &block) ⇒ Object
# === plum2 ========================================================================= #.
-
#plum3(i = '', &block) ⇒ Object
# === plum3 ========================================================================= #.
-
#plum4(i = '', &block) ⇒ Object
# === plum4 ========================================================================= #.
-
#purple(i = '', &block) ⇒ Object
# === purple ========================================================================= #.
-
#purple3(i = '', &block) ⇒ Object
# === purple3 ========================================================================= #.
-
#purple4(i = '', &block) ⇒ Object
# === purple4 ========================================================================= #.
-
#red(i = '', &block) ⇒ Object
# === red ========================================================================= #.
-
#red1(i = '', &block) ⇒ Object
# === red1 ========================================================================= #.
-
#red3(i = '', &block) ⇒ Object
# === red3 ========================================================================= #.
-
#rosybrown(i = '', &block) ⇒ Object
# === rosybrown ========================================================================= #.
-
#royalblue1(i = '', &block) ⇒ Object
# === royalblue1 ========================================================================= #.
-
#salmon1(i = '', &block) ⇒ Object
# === salmon1 ========================================================================= #.
-
#sandybrown(i = '', &block) ⇒ Object
# === sandybrown ========================================================================= #.
-
#seagreen1(i = '', &block) ⇒ Object
# === seagreen1 ========================================================================= #.
-
#seagreen2(i = '', &block) ⇒ Object
# === seagreen2 ========================================================================= #.
-
#seagreen3(i = '', &block) ⇒ Object
# === seagreen3 ========================================================================= #.
-
#silver(i = '', &block) ⇒ Object
# === silver ========================================================================= #.
-
#skyblue1(i = '', &block) ⇒ Object
# === skyblue1 ========================================================================= #.
-
#skyblue2(i = '', &block) ⇒ Object
# === skyblue2 ========================================================================= #.
-
#skyblue3(i = '', &block) ⇒ Object
# === skyblue3 ========================================================================= #.
-
#slateblue1(i = '', &block) ⇒ Object
# === slateblue1 ========================================================================= #.
-
#slateblue3(i = '', &block) ⇒ Object
# === slateblue3 ========================================================================= #.
-
#springgreen1(i = '', &block) ⇒ Object
# === springgreen1 ========================================================================= #.
-
#springgreen2(i = '', &block) ⇒ Object
# === springgreen2 ========================================================================= #.
-
#springgreen3(i = '', &block) ⇒ Object
# === springgreen3 ========================================================================= #.
-
#springgreen4(i = '', &block) ⇒ Object
# === springgreen4 ========================================================================= #.
-
#steelblue(i = '', &block) ⇒ Object
# === steelblue ========================================================================= #.
-
#steelblue1(i = '', &block) ⇒ Object
# === steelblue1 ========================================================================= #.
-
#steelblue3(i = '', &block) ⇒ Object
# === steelblue3 ========================================================================= #.
-
#tan(i = '', &block) ⇒ Object
# === tan ========================================================================= #.
-
#teal(i = '', &block) ⇒ Object
# === teal ========================================================================= #.
-
#thistle1(i = '', &block) ⇒ Object
# === thistle1 ========================================================================= #.
-
#thistle3(i = '', &block) ⇒ Object
# === thistle3 ========================================================================= #.
-
#turquoise2(i = '', &block) ⇒ Object
# === turquoise2 ========================================================================= #.
-
#turquoise4(i = '', &block) ⇒ Object
# === turquoise4 ========================================================================= #.
-
#violet(i = '', &block) ⇒ Object
# === violet ========================================================================= #.
-
#wheat1(i = '', &block) ⇒ Object
# === wheat1 ========================================================================= #.
-
#wheat4(i = '', &block) ⇒ Object
# === wheat4 ========================================================================= #.
-
#white(i = '', &block) ⇒ Object
# === white ========================================================================= #.
-
#write_in_256_colour(i = 'hi there', id = 33) ⇒ Object
# === write_in_256_colour.
-
#yellow(i = '', &block) ⇒ Object
# === yellow ========================================================================= #.
-
#yellow1(i = '', &block) ⇒ Object
# === yellow1 ========================================================================= #.
-
#yellow2(i = '', &block) ⇒ Object
# === yellow2 ========================================================================= #.
-
#yellow3(i = '', &block) ⇒ Object
# === yellow3 ========================================================================= #.
-
#yellow4(i = '', &block) ⇒ Object
# === yellow4 ========================================================================= #.
Class Method Details
.aqua(i = '', &block) ⇒ Object
#
Colours::Module256Colours.aqua
#
114
115
116
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 114
def self.aqua(i = '', &block)
return_this_256_colour(14, i)
end
|
.aquamarine1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.aquamarine1
#
520
521
522
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 520
def self.aquamarine1(i = '', &block)
return_this_256_colour(122, i)
end
|
.aquamarine3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.aquamarine3
#
485
486
487
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 485
def self.aquamarine3(i = '', &block)
return_this_256_colour(79, i)
end
|
.autogenerate_256_colours_methods(into = HOME_DIRECTORY_OF_USER_X+
'programming/ruby/src/'\
'colours/lib/colours/autogenerated/'\
'256_colours_methods.rb') ⇒ Object
#
Colours::Module256Colours.autogenerate_256_colours_methods (autogenerate tag)
This method will autogenerate all methods that can be used via Colours::Module256Colours.
Commandline invocation example:
colours --autogenerate_256_colours_methods
#
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 40
def self.autogenerate_256_colours_methods(
into = HOME_DIRECTORY_OF_USER_X+
'programming/ruby/src/'\
'colours/lib/colours/autogenerated/'\
'256_colours_methods.rb'
)
require 'save_file'
dataset_from_the_yaml_file = YAML.load_file(::Colours.file_256_colours)
_ = "#{RUBY_HEADER}\n".dup
_ << "# require 'colours/autogenerated/#{File.basename(into)}'\n"
_ << "# =========================================================================== #\n"
_ << "# include ::Colours::Module256Colours\n"
_ << "# =========================================================================== #\n"
_ << "module Colours\n\n"
_ << "module Module256Colours # === ::Colours::Module256Colours\n\n"
dataset_from_the_yaml_file.keys.each {|this_html_colour|
this_html_colour = this_html_colour.dup if this_html_colour.frozen?
pointer = dataset_from_the_yaml_file[this_html_colour.to_s] this_html_colour.downcase! _ << " # ========================================================================= #\n"
_ << " # === Colours::Module256Colours.#{this_html_colour}\n"
_ << " # ========================================================================= #\n"
_ << " def self.#{this_html_colour}(i = '', &block)\n"
_ << ' return_this_256_colour('+pointer.first.to_s+', i)'+"\n"
_ << " end\n\n"
}
_ << "end\n\n"
_ << "end\n"
puts "Storing into the file `#{into}` next."
SaveFile.write_what_into(_, into)
autogenerate_256_colours_methods_for_instance_methods
end
|
.autogenerate_256_colours_methods_for_instance_methods(into = HOME_DIRECTORY_OF_USER_X+
'programming/ruby/src/'\
'colours/lib/colours/autogenerated/'\
'256_colours_instance_methods.rb') ⇒ Object
#
Colours::Module256Colours.autogenerate_256_colours_methods_for_instance_methods
This method will generate all instance-methods for the 256-colours part.
#
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 82
def self.autogenerate_256_colours_methods_for_instance_methods(
into = HOME_DIRECTORY_OF_USER_X+
'programming/ruby/src/'\
'colours/lib/colours/autogenerated/'\
'256_colours_instance_methods.rb'
)
require 'save_file'
dataset_from_the_yaml_file = YAML.load_file(::Colours.file_256_colours)
_ = "#{RUBY_HEADER}\n".dup
_ << "# require 'colours/autogenerated/#{File.basename(into)}'\n"
_ << "# =========================================================================== #\n"
_ << "# include ::Colours::Module256Colours\n"
_ << "# =========================================================================== #\n"
_ << "module Colours\n\n"
_ << "module Module256Colours # === ::Colours::Module256Colours\n\n"
dataset_from_the_yaml_file.keys.each {|this_html_colour|
this_html_colour = this_html_colour.dup if this_html_colour.frozen?
this_html_colour.downcase! _ << " # ========================================================================= #\n"
_ << " # === #{this_html_colour}\n"
_ << " # ========================================================================= #\n"
_ << " def #{this_html_colour}(i = '', &block)\n"
_ << ' ::Colours::Module256Colours.'+this_html_colour.to_s+'(i)'+"\n"
_ << " end\n\n"
}
_ << "end\n\n"
_ << "end\n"
puts "Storing into the file `#{into}` next."
SaveFile.write_what_into(_, into)
end
|
.black(i = '', &block) ⇒ Object
#
Colours::Module256Colours.black
#
16
17
18
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 16
def self.black(i = '', &block)
return_this_256_colour(0, i)
end
|
.blue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.blue
#
100
101
102
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 100
def self.blue(i = '', &block)
return_this_256_colour(12, i)
end
|
.blue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.blue1
#
156
157
158
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 156
def self.blue1(i = '', &block)
return_this_256_colour(21, i)
end
|
.blue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.blue3
#
149
150
151
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 149
def self.blue3(i = '', &block)
return_this_256_colour(20, i)
end
|
.blueviolet(i = '', &block) ⇒ Object
#
Colours::Module256Colours.blueviolet
#
359
360
361
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 359
def self.blueviolet(i = '', &block)
return_this_256_colour(57, i)
end
|
.cadetblue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.cadetblue
#
450
451
452
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 450
def self.cadetblue(i = '', &block)
return_this_256_colour(73, i)
end
|
.chartreuse1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.chartreuse1
#
667
668
669
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 667
def self.chartreuse1(i = '', &block)
return_this_256_colour(118, i)
end
|
.chartreuse2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.chartreuse2
#
499
500
501
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 499
def self.chartreuse2(i = '', &block)
return_this_256_colour(112, i)
end
|
.chartreuse3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.chartreuse3
#
443
444
445
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 443
def self.chartreuse3(i = '', &block)
return_this_256_colour(76, i)
end
|
.chartreuse4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.chartreuse4
#
401
402
403
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 401
def self.chartreuse4(i = '', &block)
return_this_256_colour(64, i)
end
|
.cornflowerblue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.cornflowerblue
#
436
437
438
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 436
def self.cornflowerblue(i = '', &block)
return_this_256_colour(69, i)
end
|
.cornsilk1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.cornsilk1
#
1248
1249
1250
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1248
def self.cornsilk1(i = '', &block)
return_this_256_colour(230, i)
end
|
.cyan1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.cyan1
#
324
325
326
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 324
def self.cyan1(i = '', &block)
return_this_256_colour(51, i)
end
|
.cyan2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.cyan2
#
317
318
319
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 317
def self.cyan2(i = '', &block)
return_this_256_colour(50, i)
end
|
.cyan3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.cyan3
#
275
276
277
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 275
def self.cyan3(i = '', &block)
return_this_256_colour(43, i)
end
|
.darkblue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkblue
#
142
143
144
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 142
def self.darkblue(i = '', &block)
return_this_256_colour(18, i)
end
|
.darkcyan(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkcyan
#
240
241
242
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 240
def self.darkcyan(i = '', &block)
return_this_256_colour(36, i)
end
|
.darkgoldenrod(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkgoldenrod
#
758
759
760
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 758
def self.darkgoldenrod(i = '', &block)
return_this_256_colour(136, i)
end
|
.darkgreen(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkgreen
#
163
164
165
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 163
def self.darkgreen(i = '', &block)
return_this_256_colour(22, i)
end
|
.darkkhaki(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkkhaki
#
800
801
802
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 800
def self.darkkhaki(i = '', &block)
return_this_256_colour(143, i)
end
|
.darkmagenta(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkmagenta
#
534
535
536
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 534
def self.darkmagenta(i = '', &block)
return_this_256_colour(91, i)
end
|
.darkolivegreen1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkolivegreen1
#
1038
1039
1040
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1038
def self.darkolivegreen1(i = '', &block)
return_this_256_colour(192, i)
end
|
.darkolivegreen2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkolivegreen2
#
870
871
872
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 870
def self.darkolivegreen2(i = '', &block)
return_this_256_colour(155, i)
end
|
.darkolivegreen3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkolivegreen3
#
618
619
620
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 618
def self.darkolivegreen3(i = '', &block)
return_this_256_colour(149, i)
end
|
.darkorange(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkorange
#
1108
1109
1110
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1108
def self.darkorange(i = '', &block)
return_this_256_colour(208, i)
end
|
.darkorange3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkorange3
#
716
717
718
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 716
def self.darkorange3(i = '', &block)
return_this_256_colour(166, i)
end
|
.darkred(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkred
#
331
332
333
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 331
def self.darkred(i = '', &block)
return_this_256_colour(88, i)
end
|
.darkseagreen(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkseagreen
#
625
626
627
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 625
def self.darkseagreen(i = '', &block)
return_this_256_colour(108, i)
end
|
.darkseagreen1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkseagreen1
#
877
878
879
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 877
def self.darkseagreen1(i = '', &block)
return_this_256_colour(193, i)
end
|
.darkseagreen2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkseagreen2
#
842
843
844
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 842
def self.darkseagreen2(i = '', &block)
return_this_256_colour(157, i)
end
|
.darkseagreen3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkseagreen3
#
646
647
648
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 646
def self.darkseagreen3(i = '', &block)
return_this_256_colour(150, i)
end
|
.darkseagreen4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkseagreen4
#
408
409
410
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 408
def self.darkseagreen4(i = '', &block)
return_this_256_colour(71, i)
end
|
.darkslategray1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkslategray1
#
688
689
690
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 688
def self.darkslategray1(i = '', &block)
return_this_256_colour(123, i)
end
|
.darkslategray2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkslategray2
#
527
528
529
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 527
def self.darkslategray2(i = '', &block)
return_this_256_colour(87, i)
end
|
.darkslategray3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkslategray3
#
653
654
655
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 653
def self.darkslategray3(i = '', &block)
return_this_256_colour(116, i)
end
|
.darkturquoise(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkturquoise
#
282
283
284
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 282
def self.darkturquoise(i = '', &block)
return_this_256_colour(44, i)
end
|
.darkviolet(i = '', &block) ⇒ Object
#
Colours::Module256Colours.darkviolet
#
541
542
543
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 541
def self.darkviolet(i = '', &block)
return_this_256_colour(128, i)
end
|
.dataset? ⇒ Boolean
#
Colours::Module256Colours.dataset?
#
175
176
177
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 175
def self.dataset?
@dataset
end
|
.deeppink1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deeppink1
#
1073
1074
1075
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1073
def self.deeppink1(i = '', &block)
return_this_256_colour(199, i)
end
|
.deeppink2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deeppink2
#
1066
1067
1068
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1066
def self.deeppink2(i = '', &block)
return_this_256_colour(197, i)
end
|
.deeppink3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deeppink3
#
891
892
893
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 891
def self.deeppink3(i = '', &block)
return_this_256_colour(162, i)
end
|
.deeppink4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deeppink4
#
338
339
340
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 338
def self.deeppink4(i = '', &block)
return_this_256_colour(125, i)
end
|
.deepskyblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deepskyblue1
#
261
262
263
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 261
def self.deepskyblue1(i = '', &block)
return_this_256_colour(39, i)
end
|
.deepskyblue2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deepskyblue2
#
254
255
256
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 254
def self.deepskyblue2(i = '', &block)
return_this_256_colour(38, i)
end
|
.deepskyblue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deepskyblue3
#
212
213
214
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 212
def self.deepskyblue3(i = '', &block)
return_this_256_colour(32, i)
end
|
.deepskyblue4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.deepskyblue4
#
170
171
172
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 170
def self.deepskyblue4(i = '', &block)
return_this_256_colour(25, i)
end
|
.display_this_256_colour(id = 9, use_this_text = "Hello world!\n", &block) ⇒ Object
#
Colours::Module256Colours.display_this_256_colour
The first argument should be a number from 0 to 255.
You can also batch-output all colours, by using something like:
Colours.display_this_256_colour('0-255',"Hello world, in a batch!\n")
Generic usage examples:
Colours::Module256Colours.display_this_256_colour(33, 'yo there') { :newline }
Colours::Module256Colours.display_this_256_colour(55, 'yo there') { :newline }
Colours::Module256Colours.display_this_256_colour(77, 'yo there') { :newline }
#
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 214
def self.display_this_256_colour(
id = 9,
use_this_text = "Hello world!\n",
&block
)
if block_given?
yielded = yield
case yielded
when :newline
use_this_text = use_this_text.dup if use_this_text.frozen?
use_this_text << "\n"
end
end
if id.is_a?(String) and id.include?('-')
splitted = id.split('-')
range = (splitted.first.to_i .. splitted.last.to_i).to_a
range.each {|this_range_id|
display_this_256_colour(this_range_id, use_this_text, &block)
}
else print ::Colours::Module256Colours.return_this_256_colour(id, use_this_text)
end
end
|
.dodgerblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.dodgerblue1
#
219
220
221
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 219
def self.dodgerblue1(i = '', &block)
return_this_256_colour(33, i)
end
|
.dodgerblue2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.dodgerblue2
#
184
185
186
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 184
def self.dodgerblue2(i = '', &block)
return_this_256_colour(27, i)
end
|
.dodgerblue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.dodgerblue3
#
177
178
179
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 177
def self.dodgerblue3(i = '', &block)
return_this_256_colour(26, i)
end
|
.fuchsia(i = '', &block) ⇒ Object
#
Colours::Module256Colours.fuchsia
#
107
108
109
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 107
def self.fuchsia(i = '', &block)
return_this_256_colour(13, i)
end
|
.gold1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.gold1
#
1192
1193
1194
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1192
def self.gold1(i = '', &block)
return_this_256_colour(220, i)
end
|
.gold3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.gold3
#
793
794
795
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 793
def self.gold3(i = '', &block)
return_this_256_colour(178, i)
end
|
.green(i = '', &block) ⇒ Object
#
Colours::Module256Colours.green
#
30
31
32
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 30
def self.green(i = '', &block)
return_this_256_colour(2, i)
end
|
.green1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.green1
#
296
297
298
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 296
def self.green1(i = '', &block)
return_this_256_colour(46, i)
end
|
.green3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.green3
#
226
227
228
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 226
def self.green3(i = '', &block)
return_this_256_colour(40, i)
end
|
.green4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.green4
#
191
192
193
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 191
def self.green4(i = '', &block)
return_this_256_colour(28, i)
end
|
.greenyellow(i = '', &block) ⇒ Object
#
Colours::Module256Colours.greenyellow
#
863
864
865
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 863
def self.greenyellow(i = '', &block)
return_this_256_colour(154, i)
end
|
.grey(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey
#
72
73
74
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 72
def self.grey(i = '', &block)
return_this_256_colour(8, i)
end
|
.grey0(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey0
#
128
129
130
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 128
def self.grey0(i = '', &block)
return_this_256_colour(16, i)
end
|
.grey100(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey100
#
1255
1256
1257
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1255
def self.grey100(i = '', &block)
return_this_256_colour(231, i)
end
|
.grey11(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey11
#
1276
1277
1278
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1276
def self.grey11(i = '', &block)
return_this_256_colour(234, i)
end
|
.grey15(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey15
#
1283
1284
1285
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1283
def self.grey15(i = '', &block)
return_this_256_colour(235, i)
end
|
.grey19(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey19
#
1290
1291
1292
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1290
def self.grey19(i = '', &block)
return_this_256_colour(236, i)
end
|
.grey23(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey23
#
1297
1298
1299
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1297
def self.grey23(i = '', &block)
return_this_256_colour(237, i)
end
|
.grey27(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey27
#
1304
1305
1306
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1304
def self.grey27(i = '', &block)
return_this_256_colour(238, i)
end
|
.grey3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey3
#
1262
1263
1264
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1262
def self.grey3(i = '', &block)
return_this_256_colour(232, i)
end
|
.grey30(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey30
#
1311
1312
1313
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1311
def self.grey30(i = '', &block)
return_this_256_colour(239, i)
end
|
.grey35(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey35
#
1318
1319
1320
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1318
def self.grey35(i = '', &block)
return_this_256_colour(240, i)
end
|
.grey37(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey37
#
373
374
375
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 373
def self.grey37(i = '', &block)
return_this_256_colour(59, i)
end
|
.grey39(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey39
#
1325
1326
1327
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1325
def self.grey39(i = '', &block)
return_this_256_colour(241, i)
end
|
.grey42(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey42
#
1332
1333
1334
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1332
def self.grey42(i = '', &block)
return_this_256_colour(242, i)
end
|
.grey46(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey46
#
1339
1340
1341
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1339
def self.grey46(i = '', &block)
return_this_256_colour(243, i)
end
|
.grey50(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey50
#
1346
1347
1348
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1346
def self.grey50(i = '', &block)
return_this_256_colour(244, i)
end
|
.grey53(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey53
#
590
591
592
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 590
def self.grey53(i = '', &block)
return_this_256_colour(102, i)
end
|
.grey54(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey54
#
1353
1354
1355
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1353
def self.grey54(i = '', &block)
return_this_256_colour(245, i)
end
|
.grey58(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey58
#
1360
1361
1362
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1360
def self.grey58(i = '', &block)
return_this_256_colour(246, i)
end
|
.grey62(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey62
#
1367
1368
1369
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1367
def self.grey62(i = '', &block)
return_this_256_colour(247, i)
end
|
.grey63(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey63
#
779
780
781
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 779
def self.grey63(i = '', &block)
return_this_256_colour(139, i)
end
|
.grey66(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey66
#
1374
1375
1376
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1374
def self.grey66(i = '', &block)
return_this_256_colour(248, i)
end
|
.grey69(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey69
#
814
815
816
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 814
def self.grey69(i = '', &block)
return_this_256_colour(145, i)
end
|
.grey7(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey7
#
1269
1270
1271
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1269
def self.grey7(i = '', &block)
return_this_256_colour(233, i)
end
|
.grey70(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey70
#
1381
1382
1383
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1381
def self.grey70(i = '', &block)
return_this_256_colour(249, i)
end
|
.grey74(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey74
#
1388
1389
1390
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1388
def self.grey74(i = '', &block)
return_this_256_colour(250, i)
end
|
.grey78(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey78
#
1395
1396
1397
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1395
def self.grey78(i = '', &block)
return_this_256_colour(251, i)
end
|
.grey82(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey82
#
1402
1403
1404
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1402
def self.grey82(i = '', &block)
return_this_256_colour(252, i)
end
|
.grey84(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey84
#
1017
1018
1019
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1017
def self.grey84(i = '', &block)
return_this_256_colour(188, i)
end
|
.grey85(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey85
#
1409
1410
1411
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1409
def self.grey85(i = '', &block)
return_this_256_colour(253, i)
end
|
.grey89(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey89
#
1416
1417
1418
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1416
def self.grey89(i = '', &block)
return_this_256_colour(254, i)
end
|
.grey93(i = '', &block) ⇒ Object
#
Colours::Module256Colours.grey93
#
1423
1424
1425
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1423
def self.grey93(i = '', &block)
return_this_256_colour(255, i)
end
|
.honeydew2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.honeydew2
#
1045
1046
1047
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1045
def self.honeydew2(i = '', &block)
return_this_256_colour(194, i)
end
|
.hotpink(i = '', &block) ⇒ Object
#
Colours::Module256Colours.hotpink
#
1101
1102
1103
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1101
def self.hotpink(i = '', &block)
return_this_256_colour(206, i)
end
|
.hotpink2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.hotpink2
#
905
906
907
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 905
def self.hotpink2(i = '', &block)
return_this_256_colour(169, i)
end
|
.hotpink3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.hotpink3
#
730
731
732
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 730
def self.hotpink3(i = '', &block)
return_this_256_colour(168, i)
end
|
.indianred(i = '', &block) ⇒ Object
#
Colours::Module256Colours.indianred
#
723
724
725
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 723
def self.indianred(i = '', &block)
return_this_256_colour(167, i)
end
|
.indianred1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.indianred1
#
1094
1095
1096
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1094
def self.indianred1(i = '', &block)
return_this_256_colour(204, i)
end
|
.is_this_a_256_colour?(i, dataset = dataset?
) ⇒ Boolean
#
Colours::Module256Colours.is_this_a_256_colour?
Invocation example:
Colours::Module256Colours.is_this_a_256_colour? 'LightSteelBlue3'
#
187
188
189
190
191
192
193
194
195
196
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 187
def self.is_this_a_256_colour?(
i,
dataset = dataset?
)
if dataset
dataset.keys.map(&:downcase).include?(i.to_s.downcase) else
false
end
end
|
.khaki1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.khaki1
#
1234
1235
1236
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1234
def self.khaki1(i = '', &block)
return_this_256_colour(228, i)
end
|
.khaki3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.khaki3
#
996
997
998
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 996
def self.khaki3(i = '', &block)
return_this_256_colour(185, i)
end
|
.lightcoral(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightcoral
#
1122
1123
1124
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1122
def self.lightcoral(i = '', &block)
return_this_256_colour(210, i)
end
|
.lightcyan1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightcyan1
#
1052
1053
1054
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1052
def self.lightcyan1(i = '', &block)
return_this_256_colour(195, i)
end
|
.lightcyan3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightcyan3
#
849
850
851
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 849
def self.lightcyan3(i = '', &block)
return_this_256_colour(152, i)
end
|
.lightgoldenrod1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightgoldenrod1
#
1227
1228
1229
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1227
def self.lightgoldenrod1(i = '', &block)
return_this_256_colour(227, i)
end
|
.lightgoldenrod2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightgoldenrod2
#
1003
1004
1005
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1003
def self.lightgoldenrod2(i = '', &block)
return_this_256_colour(222, i)
end
|
.lightgoldenrod3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightgoldenrod3
#
961
962
963
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 961
def self.lightgoldenrod3(i = '', &block)
return_this_256_colour(179, i)
end
|
.lightgreen(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightgreen
#
674
675
676
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 674
def self.lightgreen(i = '', &block)
return_this_256_colour(120, i)
end
|
.lightpink1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightpink1
#
1171
1172
1173
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1171
def self.lightpink1(i = '', &block)
return_this_256_colour(217, i)
end
|
.lightpink3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightpink3
#
933
934
935
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 933
def self.lightpink3(i = '', &block)
return_this_256_colour(174, i)
end
|
.lightpink4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightpink4
#
548
549
550
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 548
def self.lightpink4(i = '', &block)
return_this_256_colour(95, i)
end
|
.lightsalmon1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightsalmon1
#
1164
1165
1166
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1164
def self.lightsalmon1(i = '', &block)
return_this_256_colour(216, i)
end
|
.lightsalmon3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightsalmon3
#
765
766
767
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 765
def self.lightsalmon3(i = '', &block)
return_this_256_colour(173, i)
end
|
.lightseagreen(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightseagreen
#
247
248
249
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 247
def self.lightseagreen(i = '', &block)
return_this_256_colour(37, i)
end
|
.lightskyblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightskyblue1
#
856
857
858
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 856
def self.lightskyblue1(i = '', &block)
return_this_256_colour(153, i)
end
|
.lightskyblue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightskyblue3
#
632
633
634
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 632
def self.lightskyblue3(i = '', &block)
return_this_256_colour(110, i)
end
|
.lightslateblue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightslateblue
#
611
612
613
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 611
def self.lightslateblue(i = '', &block)
return_this_256_colour(105, i)
end
|
.lightslategrey(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightslategrey
#
597
598
599
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 597
def self.lightslategrey(i = '', &block)
return_this_256_colour(103, i)
end
|
.lightsteelblue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightsteelblue
#
828
829
830
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 828
def self.lightsteelblue(i = '', &block)
return_this_256_colour(147, i)
end
|
.lightsteelblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightsteelblue1
#
1024
1025
1026
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1024
def self.lightsteelblue1(i = '', &block)
return_this_256_colour(189, i)
end
|
.lightsteelblue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightsteelblue3
#
821
822
823
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 821
def self.lightsteelblue3(i = '', &block)
return_this_256_colour(146, i)
end
|
.lightyellow3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lightyellow3
#
1010
1011
1012
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1010
def self.lightyellow3(i = '', &block)
return_this_256_colour(187, i)
end
|
.lime(i = '', &block) ⇒ Object
#
Colours::Module256Colours.lime
#
86
87
88
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 86
def self.lime(i = '', &block)
return_this_256_colour(10, i)
end
|
.load_the_default_dataset(i = FILE_256_COLOURS) ⇒ Object
#
Colours::Module256Colours.load_the_default_dataset
#
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 119
def self.load_the_default_dataset(
i = FILE_256_COLOURS
)
if File.exist?(i) @dataset = YAML.load_file(i).
transform_keys(&:downcase)
else
@dataset = nil
end
end
|
.magenta1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.magenta1
#
1080
1081
1082
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1080
def self.magenta1(i = '', &block)
return_this_256_colour(201, i)
end
|
.magenta2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.magenta2
#
898
899
900
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 898
def self.magenta2(i = '', &block)
return_this_256_colour(200, i)
end
|
.magenta3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.magenta3
#
709
710
711
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 709
def self.magenta3(i = '', &block)
return_this_256_colour(164, i)
end
|
.maroon(i = '', &block) ⇒ Object
#
Colours::Module256Colours.maroon
#
23
24
25
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 23
def self.maroon(i = '', &block)
return_this_256_colour(1, i)
end
|
.mediumorchid(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumorchid
#
744
745
746
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 744
def self.mediumorchid(i = '', &block)
return_this_256_colour(134, i)
end
|
.mediumorchid1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumorchid1
#
919
920
921
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 919
def self.mediumorchid1(i = '', &block)
return_this_256_colour(207, i)
end
|
.mediumorchid3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumorchid3
#
737
738
739
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 737
def self.mediumorchid3(i = '', &block)
return_this_256_colour(133, i)
end
|
.mediumpurple(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumpurple
#
604
605
606
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 604
def self.mediumpurple(i = '', &block)
return_this_256_colour(104, i)
end
|
.mediumpurple1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumpurple1
#
786
787
788
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 786
def self.mediumpurple1(i = '', &block)
return_this_256_colour(141, i)
end
|
.mediumpurple2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumpurple2
#
751
752
753
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 751
def self.mediumpurple2(i = '', &block)
return_this_256_colour(140, i)
end
|
.mediumpurple3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumpurple3
#
562
563
564
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 562
def self.mediumpurple3(i = '', &block)
return_this_256_colour(98, i)
end
|
.mediumpurple4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumpurple4
#
380
381
382
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 380
def self.mediumpurple4(i = '', &block)
return_this_256_colour(60, i)
end
|
.mediumspringgreen(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumspringgreen
#
310
311
312
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 310
def self.mediumspringgreen(i = '', &block)
return_this_256_colour(49, i)
end
|
.mediumturquoise(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumturquoise
#
492
493
494
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 492
def self.mediumturquoise(i = '', &block)
return_this_256_colour(80, i)
end
|
.mediumvioletred(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mediumvioletred
#
702
703
704
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 702
def self.mediumvioletred(i = '', &block)
return_this_256_colour(126, i)
end
|
.mistyrose1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mistyrose1
#
1206
1207
1208
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1206
def self.mistyrose1(i = '', &block)
return_this_256_colour(224, i)
end
|
.mistyrose3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.mistyrose3
#
975
976
977
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 975
def self.mistyrose3(i = '', &block)
return_this_256_colour(181, i)
end
|
.navajowhite1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.navajowhite1
#
1199
1200
1201
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1199
def self.navajowhite1(i = '', &block)
return_this_256_colour(223, i)
end
|
.navajowhite3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.navajowhite3
#
807
808
809
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 807
def self.navajowhite3(i = '', &block)
return_this_256_colour(144, i)
end
|
.navy(i = '', &block) ⇒ Object
#
Colours::Module256Colours.navy
#
44
45
46
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 44
def self.navy(i = '', &block)
return_this_256_colour(4, i)
end
|
.navyblue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.navyblue
#
135
136
137
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 135
def self.navyblue(i = '', &block)
return_this_256_colour(17, i)
end
|
.olive(i = '', &block) ⇒ Object
#
Colours::Module256Colours.olive
#
37
38
39
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 37
def self.olive(i = '', &block)
return_this_256_colour(3, i)
end
|
.orange1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.orange1
#
1150
1151
1152
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1150
def self.orange1(i = '', &block)
return_this_256_colour(214, i)
end
|
.orange3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.orange3
#
926
927
928
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 926
def self.orange3(i = '', &block)
return_this_256_colour(172, i)
end
|
.orange4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.orange4
#
366
367
368
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 366
def self.orange4(i = '', &block)
return_this_256_colour(94, i)
end
|
.orangered1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.orangered1
#
1087
1088
1089
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1087
def self.orangered1(i = '', &block)
return_this_256_colour(202, i)
end
|
.orchid(i = '', &block) ⇒ Object
#
Colours::Module256Colours.orchid
#
912
913
914
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 912
def self.orchid(i = '', &block)
return_this_256_colour(170, i)
end
|
.orchid1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.orchid1
#
1143
1144
1145
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1143
def self.orchid1(i = '', &block)
return_this_256_colour(213, i)
end
|
.orchid2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.orchid2
#
1136
1137
1138
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1136
def self.orchid2(i = '', &block)
return_this_256_colour(212, i)
end
|
.palegreen1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.palegreen1
#
681
682
683
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 681
def self.palegreen1(i = '', &block)
return_this_256_colour(156, i)
end
|
.palegreen3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.palegreen3
#
471
472
473
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 471
def self.palegreen3(i = '', &block)
return_this_256_colour(114, i)
end
|
.paleturquoise1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.paleturquoise1
#
884
885
886
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 884
def self.paleturquoise1(i = '', &block)
return_this_256_colour(159, i)
end
|
.paleturquoise4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.paleturquoise4
#
415
416
417
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 415
def self.paleturquoise4(i = '', &block)
return_this_256_colour(66, i)
end
|
.palevioletred1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.palevioletred1
#
1129
1130
1131
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1129
def self.palevioletred1(i = '', &block)
return_this_256_colour(211, i)
end
|
.pink1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.pink1
#
1178
1179
1180
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1178
def self.pink1(i = '', &block)
return_this_256_colour(218, i)
end
|
.pink3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.pink3
#
940
941
942
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 940
def self.pink3(i = '', &block)
return_this_256_colour(175, i)
end
|
.plum1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.plum1
#
1185
1186
1187
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1185
def self.plum1(i = '', &block)
return_this_256_colour(219, i)
end
|
.plum2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.plum2
#
989
990
991
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 989
def self.plum2(i = '', &block)
return_this_256_colour(183, i)
end
|
.plum3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.plum3
#
947
948
949
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 947
def self.plum3(i = '', &block)
return_this_256_colour(176, i)
end
|
.plum4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.plum4
#
555
556
557
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 555
def self.plum4(i = '', &block)
return_this_256_colour(96, i)
end
|
.purple(i = '', &block) ⇒ Object
#
Colours::Module256Colours.purple
#
51
52
53
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 51
def self.purple(i = '', &block)
return_this_256_colour(129, i)
end
|
.purple3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.purple3
#
352
353
354
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 352
def self.purple3(i = '', &block)
return_this_256_colour(56, i)
end
|
.purple4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.purple4
#
345
346
347
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 345
def self.purple4(i = '', &block)
return_this_256_colour(55, i)
end
|
.red(i = '', &block) ⇒ Object
#
Colours::Module256Colours.red
#
79
80
81
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 79
def self.red(i = '', &block)
return_this_256_colour(9, i)
end
|
.red1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.red1
#
1059
1060
1061
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1059
def self.red1(i = '', &block)
return_this_256_colour(196, i)
end
|
.red3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.red3
#
695
696
697
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 695
def self.red3(i = '', &block)
return_this_256_colour(160, i)
end
|
.return_this_256_colour(id = 9, use_this_text = "Hello world!", dataset = @dataset) ⇒ Object
#
Colours::Module256Colours.return_this_256_colour (return tag)
The first argument to this method should be a number from 0 to 255.
For example, 255 is also known as “Grey93” - a variant of grey.
It appears to work better if you use print() rather than puts() for whatever is returned here - perhaps due to the leading u001b part.
You can also input the colour variant, such as ‘Grey93’.
Invocation examples:
Colours::Module256Colours.return_this_256_colour(255, "Hello world in grey!\n")
print Colours::Module256Colours.return_this_256_colour(255, (Roebe.block_character*5)+" Hello world in grey! "+(Roebe.block_character*5)+" \n")
print Colours::Module256Colours.return_this_256_colour('DarkTurquoise', (Roebe.block_character*5)+" Hello world in DarkTurquoise! "+(Roebe.block_character*5)+" \n")
#
158
159
160
161
162
163
164
165
166
167
168
169
170
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 158
def self.return_this_256_colour(
id = 9,
use_this_text = "Hello world!",
dataset = @dataset
)
id = id.to_s.downcase
if (id !~ /^\d+/) and
dataset and
dataset.has_key?(id)
id = dataset[id] end
"\u001b[38;5;#{id}m#{use_this_text}#{REVERT}"
end
|
.rosybrown(i = '', &block) ⇒ Object
#
Colours::Module256Colours.rosybrown
#
772
773
774
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 772
def self.rosybrown(i = '', &block)
return_this_256_colour(138, i)
end
|
.royalblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.royalblue1
#
394
395
396
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 394
def self.royalblue1(i = '', &block)
return_this_256_colour(63, i)
end
|
.salmon1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.salmon1
#
1115
1116
1117
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1115
def self.salmon1(i = '', &block)
return_this_256_colour(209, i)
end
|
.sandybrown(i = '', &block) ⇒ Object
#
Colours::Module256Colours.sandybrown
#
1157
1158
1159
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1157
def self.sandybrown(i = '', &block)
return_this_256_colour(215, i)
end
|
.seagreen1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.seagreen1
#
513
514
515
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 513
def self.seagreen1(i = '', &block)
return_this_256_colour(85, i)
end
|
.seagreen2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.seagreen2
#
506
507
508
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 506
def self.seagreen2(i = '', &block)
return_this_256_colour(83, i)
end
|
.seagreen3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.seagreen3
#
478
479
480
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 478
def self.seagreen3(i = '', &block)
return_this_256_colour(78, i)
end
|
.show_256_colour_cube ⇒ Object
#
Colours::Module256Colours.show_256_colour_cube
This will show the 256-colours cube. Colours 16-231 are a 6x6x6 color cube.
#
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 285
def self.show_256_colour_cube
e
e 'Color cube, 6x6x6 blocks:'
e
0.upto(5) {|green|
0.upto(5) {|red|
0.upto(5) {|blue|
colour = 16 + (red * 36) + (green * 6) + blue
print "#{BLOCK_START}#{colour}m " }
print "#{BLOCK_END} "
}
e
}
end
|
.show_all_256_colours(&block) ⇒ Object
#
Colours::Module256Colours.show_all_256_colours
#
304
305
306
307
308
309
310
311
312
313
314
315
316
317
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 304
def self.show_all_256_colours(&block)
yielded = nil
if block_given?
yielded = yield
end
0.upto(255).each {|this_number|
result = this_number.to_s.rjust(4)+' '+
return_this_256_colour(this_number).to_s.dup
if yielded and yielded == :newline
result << "\n"
end
print result
}
end
|
.silver(i = '', &block) ⇒ Object
#
Colours::Module256Colours.silver
#
65
66
67
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 65
def self.silver(i = '', &block)
return_this_256_colour(7, i)
end
|
.skyblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.skyblue1
#
660
661
662
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 660
def self.skyblue1(i = '', &block)
return_this_256_colour(117, i)
end
|
.skyblue2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.skyblue2
#
639
640
641
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 639
def self.skyblue2(i = '', &block)
return_this_256_colour(111, i)
end
|
.skyblue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.skyblue3
#
457
458
459
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 457
def self.skyblue3(i = '', &block)
return_this_256_colour(74, i)
end
|
.slateblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.slateblue1
#
569
570
571
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 569
def self.slateblue1(i = '', &block)
return_this_256_colour(99, i)
end
|
.slateblue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.slateblue3
#
387
388
389
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 387
def self.slateblue3(i = '', &block)
return_this_256_colour(62, i)
end
|
.springgreen1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.springgreen1
#
303
304
305
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 303
def self.springgreen1(i = '', &block)
return_this_256_colour(48, i)
end
|
.springgreen2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.springgreen2
#
268
269
270
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 268
def self.springgreen2(i = '', &block)
return_this_256_colour(47, i)
end
|
.springgreen3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.springgreen3
#
233
234
235
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 233
def self.springgreen3(i = '', &block)
return_this_256_colour(41, i)
end
|
.springgreen4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.springgreen4
#
198
199
200
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 198
def self.springgreen4(i = '', &block)
return_this_256_colour(29, i)
end
|
.steelblue(i = '', &block) ⇒ Object
#
Colours::Module256Colours.steelblue
#
422
423
424
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 422
def self.steelblue(i = '', &block)
return_this_256_colour(67, i)
end
|
.steelblue1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.steelblue1
#
464
465
466
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 464
def self.steelblue1(i = '', &block)
return_this_256_colour(81, i)
end
|
.steelblue3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.steelblue3
#
429
430
431
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 429
def self.steelblue3(i = '', &block)
return_this_256_colour(68, i)
end
|
.tan(i = '', &block) ⇒ Object
#
Colours::Module256Colours.tan
#
968
969
970
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 968
def self.tan(i = '', &block)
return_this_256_colour(180, i)
end
|
.teal(i = '', &block) ⇒ Object
#
Colours::Module256Colours.teal
#
58
59
60
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 58
def self.teal(i = '', &block)
return_this_256_colour(6, i)
end
|
.thistle1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.thistle1
#
1213
1214
1215
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1213
def self.thistle1(i = '', &block)
return_this_256_colour(225, i)
end
|
.thistle3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.thistle3
#
982
983
984
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 982
def self.thistle3(i = '', &block)
return_this_256_colour(182, i)
end
|
.turquoise2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.turquoise2
#
289
290
291
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 289
def self.turquoise2(i = '', &block)
return_this_256_colour(45, i)
end
|
.turquoise4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.turquoise4
#
205
206
207
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 205
def self.turquoise4(i = '', &block)
return_this_256_colour(30, i)
end
|
.violet(i = '', &block) ⇒ Object
#
Colours::Module256Colours.violet
#
954
955
956
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 954
def self.violet(i = '', &block)
return_this_256_colour(177, i)
end
|
.wheat1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.wheat1
#
1241
1242
1243
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1241
def self.wheat1(i = '', &block)
return_this_256_colour(229, i)
end
|
.wheat4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.wheat4
#
583
584
585
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 583
def self.wheat4(i = '', &block)
return_this_256_colour(101, i)
end
|
.white(i = '', &block) ⇒ Object
#
Colours::Module256Colours.white
#
121
122
123
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 121
def self.white(i = '', &block)
return_this_256_colour(15, i)
end
|
.write_this_in_256_colours(this_text = "Hello world!\n", id = rand(256), &block) ⇒ Object
#
Colours::Module256Colours.write_this_in_256_colours
Similar to the other write method, but has the arguments reversed.
#
259
260
261
262
263
264
265
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 259
def self.write_this_in_256_colours(
this_text = "Hello world!\n",
id = rand(256),
&block
)
display_this_256_colour(id, this_text, &block)
end
|
.yellow(i = '', &block) ⇒ Object
#
Colours::Module256Colours.yellow
#
93
94
95
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 93
def self.yellow(i = '', &block)
return_this_256_colour(11, i)
end
|
.yellow1(i = '', &block) ⇒ Object
#
Colours::Module256Colours.yellow1
#
1220
1221
1222
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1220
def self.yellow1(i = '', &block)
return_this_256_colour(226, i)
end
|
.yellow2(i = '', &block) ⇒ Object
#
Colours::Module256Colours.yellow2
#
1031
1032
1033
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 1031
def self.yellow2(i = '', &block)
return_this_256_colour(190, i)
end
|
.yellow3(i = '', &block) ⇒ Object
#
Colours::Module256Colours.yellow3
#
835
836
837
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 835
def self.yellow3(i = '', &block)
return_this_256_colour(184, i)
end
|
.yellow4(i = '', &block) ⇒ Object
#
Colours::Module256Colours.yellow4
#
576
577
578
|
# File 'lib/colours/autogenerated/256_colours_methods.rb', line 576
def self.yellow4(i = '', &block)
return_this_256_colour(106, i)
end
|
Instance Method Details
#aqua(i = '', &block) ⇒ Object
114
115
116
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 114
def aqua(i = '', &block)
::Colours::Module256Colours.aqua(i)
end
|
#aquamarine1(i = '', &block) ⇒ Object
#aquamarine3(i = '', &block) ⇒ Object
#black(i = '', &block) ⇒ Object
16
17
18
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 16
def black(i = '', &block)
::Colours::Module256Colours.black(i)
end
|
#blue(i = '', &block) ⇒ Object
100
101
102
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 100
def blue(i = '', &block)
::Colours::Module256Colours.blue(i)
end
|
#blue1(i = '', &block) ⇒ Object
156
157
158
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 156
def blue1(i = '', &block)
::Colours::Module256Colours.blue1(i)
end
|
#blue3(i = '', &block) ⇒ Object
149
150
151
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 149
def blue3(i = '', &block)
::Colours::Module256Colours.blue3(i)
end
|
#blueviolet(i = '', &block) ⇒ Object
359
360
361
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 359
def blueviolet(i = '', &block)
::Colours::Module256Colours.blueviolet(i)
end
|
#cadetblue(i = '', &block) ⇒ Object
450
451
452
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 450
def cadetblue(i = '', &block)
::Colours::Module256Colours.cadetblue(i)
end
|
#chartreuse1(i = '', &block) ⇒ Object
#chartreuse2(i = '', &block) ⇒ Object
#chartreuse3(i = '', &block) ⇒ Object
#chartreuse4(i = '', &block) ⇒ Object
#cornflowerblue(i = '', &block) ⇒ Object
#cornsilk1(i = '', &block) ⇒ Object
1248
1249
1250
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1248
def cornsilk1(i = '', &block)
::Colours::Module256Colours.cornsilk1(i)
end
|
#cyan1(i = '', &block) ⇒ Object
324
325
326
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 324
def cyan1(i = '', &block)
::Colours::Module256Colours.cyan1(i)
end
|
#cyan2(i = '', &block) ⇒ Object
317
318
319
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 317
def cyan2(i = '', &block)
::Colours::Module256Colours.cyan2(i)
end
|
#cyan3(i = '', &block) ⇒ Object
275
276
277
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 275
def cyan3(i = '', &block)
::Colours::Module256Colours.cyan3(i)
end
|
#darkblue(i = '', &block) ⇒ Object
142
143
144
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 142
def darkblue(i = '', &block)
::Colours::Module256Colours.darkblue(i)
end
|
#darkcyan(i = '', &block) ⇒ Object
240
241
242
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 240
def darkcyan(i = '', &block)
::Colours::Module256Colours.darkcyan(i)
end
|
#darkgoldenrod(i = '', &block) ⇒ Object
#darkgreen(i = '', &block) ⇒ Object
163
164
165
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 163
def darkgreen(i = '', &block)
::Colours::Module256Colours.darkgreen(i)
end
|
#darkkhaki(i = '', &block) ⇒ Object
800
801
802
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 800
def darkkhaki(i = '', &block)
::Colours::Module256Colours.darkkhaki(i)
end
|
#darkmagenta(i = '', &block) ⇒ Object
#darkolivegreen1(i = '', &block) ⇒ Object
#darkolivegreen2(i = '', &block) ⇒ Object
#darkolivegreen3(i = '', &block) ⇒ Object
#darkorange(i = '', &block) ⇒ Object
1108
1109
1110
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1108
def darkorange(i = '', &block)
::Colours::Module256Colours.darkorange(i)
end
|
#darkorange3(i = '', &block) ⇒ Object
#darkred(i = '', &block) ⇒ Object
331
332
333
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 331
def darkred(i = '', &block)
::Colours::Module256Colours.darkred(i)
end
|
#darkseagreen(i = '', &block) ⇒ Object
#darkseagreen1(i = '', &block) ⇒ Object
#darkseagreen2(i = '', &block) ⇒ Object
#darkseagreen3(i = '', &block) ⇒ Object
#darkseagreen4(i = '', &block) ⇒ Object
#darkslategray1(i = '', &block) ⇒ Object
#darkslategray2(i = '', &block) ⇒ Object
#darkslategray3(i = '', &block) ⇒ Object
#darkturquoise(i = '', &block) ⇒ Object
#darkviolet(i = '', &block) ⇒ Object
541
542
543
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 541
def darkviolet(i = '', &block)
::Colours::Module256Colours.darkviolet(i)
end
|
#deeppink1(i = '', &block) ⇒ Object
1073
1074
1075
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1073
def deeppink1(i = '', &block)
::Colours::Module256Colours.deeppink1(i)
end
|
#deeppink2(i = '', &block) ⇒ Object
1066
1067
1068
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1066
def deeppink2(i = '', &block)
::Colours::Module256Colours.deeppink2(i)
end
|
#deeppink3(i = '', &block) ⇒ Object
891
892
893
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 891
def deeppink3(i = '', &block)
::Colours::Module256Colours.deeppink3(i)
end
|
#deeppink4(i = '', &block) ⇒ Object
338
339
340
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 338
def deeppink4(i = '', &block)
::Colours::Module256Colours.deeppink4(i)
end
|
#deepskyblue1(i = '', &block) ⇒ Object
#deepskyblue2(i = '', &block) ⇒ Object
#deepskyblue3(i = '', &block) ⇒ Object
#deepskyblue4(i = '', &block) ⇒ Object
#dodgerblue1(i = '', &block) ⇒ Object
#dodgerblue2(i = '', &block) ⇒ Object
#dodgerblue3(i = '', &block) ⇒ Object
#fuchsia(i = '', &block) ⇒ Object
107
108
109
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 107
def fuchsia(i = '', &block)
::Colours::Module256Colours.fuchsia(i)
end
|
#gold1(i = '', &block) ⇒ Object
1192
1193
1194
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1192
def gold1(i = '', &block)
::Colours::Module256Colours.gold1(i)
end
|
#gold3(i = '', &block) ⇒ Object
793
794
795
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 793
def gold3(i = '', &block)
::Colours::Module256Colours.gold3(i)
end
|
#green(i = '', &block) ⇒ Object
30
31
32
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 30
def green(i = '', &block)
::Colours::Module256Colours.green(i)
end
|
#green1(i = '', &block) ⇒ Object
296
297
298
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 296
def green1(i = '', &block)
::Colours::Module256Colours.green1(i)
end
|
#green3(i = '', &block) ⇒ Object
226
227
228
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 226
def green3(i = '', &block)
::Colours::Module256Colours.green3(i)
end
|
#green4(i = '', &block) ⇒ Object
191
192
193
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 191
def green4(i = '', &block)
::Colours::Module256Colours.green4(i)
end
|
#greenyellow(i = '', &block) ⇒ Object
#grey(i = '', &block) ⇒ Object
72
73
74
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 72
def grey(i = '', &block)
::Colours::Module256Colours.grey(i)
end
|
#grey0(i = '', &block) ⇒ Object
128
129
130
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 128
def grey0(i = '', &block)
::Colours::Module256Colours.grey0(i)
end
|
#grey100(i = '', &block) ⇒ Object
1255
1256
1257
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1255
def grey100(i = '', &block)
::Colours::Module256Colours.grey100(i)
end
|
#grey11(i = '', &block) ⇒ Object
1276
1277
1278
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1276
def grey11(i = '', &block)
::Colours::Module256Colours.grey11(i)
end
|
#grey15(i = '', &block) ⇒ Object
1283
1284
1285
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1283
def grey15(i = '', &block)
::Colours::Module256Colours.grey15(i)
end
|
#grey19(i = '', &block) ⇒ Object
1290
1291
1292
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1290
def grey19(i = '', &block)
::Colours::Module256Colours.grey19(i)
end
|
#grey23(i = '', &block) ⇒ Object
1297
1298
1299
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1297
def grey23(i = '', &block)
::Colours::Module256Colours.grey23(i)
end
|
#grey27(i = '', &block) ⇒ Object
1304
1305
1306
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1304
def grey27(i = '', &block)
::Colours::Module256Colours.grey27(i)
end
|
#grey3(i = '', &block) ⇒ Object
1262
1263
1264
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1262
def grey3(i = '', &block)
::Colours::Module256Colours.grey3(i)
end
|
#grey30(i = '', &block) ⇒ Object
1311
1312
1313
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1311
def grey30(i = '', &block)
::Colours::Module256Colours.grey30(i)
end
|
#grey35(i = '', &block) ⇒ Object
1318
1319
1320
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1318
def grey35(i = '', &block)
::Colours::Module256Colours.grey35(i)
end
|
#grey37(i = '', &block) ⇒ Object
373
374
375
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 373
def grey37(i = '', &block)
::Colours::Module256Colours.grey37(i)
end
|
#grey39(i = '', &block) ⇒ Object
1325
1326
1327
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1325
def grey39(i = '', &block)
::Colours::Module256Colours.grey39(i)
end
|
#grey42(i = '', &block) ⇒ Object
1332
1333
1334
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1332
def grey42(i = '', &block)
::Colours::Module256Colours.grey42(i)
end
|
#grey46(i = '', &block) ⇒ Object
1339
1340
1341
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1339
def grey46(i = '', &block)
::Colours::Module256Colours.grey46(i)
end
|
#grey50(i = '', &block) ⇒ Object
1346
1347
1348
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1346
def grey50(i = '', &block)
::Colours::Module256Colours.grey50(i)
end
|
#grey53(i = '', &block) ⇒ Object
590
591
592
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 590
def grey53(i = '', &block)
::Colours::Module256Colours.grey53(i)
end
|
#grey54(i = '', &block) ⇒ Object
1353
1354
1355
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1353
def grey54(i = '', &block)
::Colours::Module256Colours.grey54(i)
end
|
#grey58(i = '', &block) ⇒ Object
1360
1361
1362
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1360
def grey58(i = '', &block)
::Colours::Module256Colours.grey58(i)
end
|
#grey62(i = '', &block) ⇒ Object
1367
1368
1369
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1367
def grey62(i = '', &block)
::Colours::Module256Colours.grey62(i)
end
|
#grey63(i = '', &block) ⇒ Object
779
780
781
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 779
def grey63(i = '', &block)
::Colours::Module256Colours.grey63(i)
end
|
#grey66(i = '', &block) ⇒ Object
1374
1375
1376
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1374
def grey66(i = '', &block)
::Colours::Module256Colours.grey66(i)
end
|
#grey69(i = '', &block) ⇒ Object
814
815
816
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 814
def grey69(i = '', &block)
::Colours::Module256Colours.grey69(i)
end
|
#grey7(i = '', &block) ⇒ Object
1269
1270
1271
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1269
def grey7(i = '', &block)
::Colours::Module256Colours.grey7(i)
end
|
#grey70(i = '', &block) ⇒ Object
1381
1382
1383
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1381
def grey70(i = '', &block)
::Colours::Module256Colours.grey70(i)
end
|
#grey74(i = '', &block) ⇒ Object
1388
1389
1390
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1388
def grey74(i = '', &block)
::Colours::Module256Colours.grey74(i)
end
|
#grey78(i = '', &block) ⇒ Object
1395
1396
1397
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1395
def grey78(i = '', &block)
::Colours::Module256Colours.grey78(i)
end
|
#grey82(i = '', &block) ⇒ Object
1402
1403
1404
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1402
def grey82(i = '', &block)
::Colours::Module256Colours.grey82(i)
end
|
#grey84(i = '', &block) ⇒ Object
1017
1018
1019
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1017
def grey84(i = '', &block)
::Colours::Module256Colours.grey84(i)
end
|
#grey85(i = '', &block) ⇒ Object
1409
1410
1411
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1409
def grey85(i = '', &block)
::Colours::Module256Colours.grey85(i)
end
|
#grey89(i = '', &block) ⇒ Object
1416
1417
1418
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1416
def grey89(i = '', &block)
::Colours::Module256Colours.grey89(i)
end
|
#grey93(i = '', &block) ⇒ Object
1423
1424
1425
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1423
def grey93(i = '', &block)
::Colours::Module256Colours.grey93(i)
end
|
#honeydew2(i = '', &block) ⇒ Object
1045
1046
1047
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1045
def honeydew2(i = '', &block)
::Colours::Module256Colours.honeydew2(i)
end
|
#hotpink(i = '', &block) ⇒ Object
1101
1102
1103
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1101
def hotpink(i = '', &block)
::Colours::Module256Colours.hotpink(i)
end
|
#hotpink2(i = '', &block) ⇒ Object
905
906
907
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 905
def hotpink2(i = '', &block)
::Colours::Module256Colours.hotpink2(i)
end
|
#hotpink3(i = '', &block) ⇒ Object
730
731
732
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 730
def hotpink3(i = '', &block)
::Colours::Module256Colours.hotpink3(i)
end
|
#indianred(i = '', &block) ⇒ Object
723
724
725
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 723
def indianred(i = '', &block)
::Colours::Module256Colours.indianred(i)
end
|
#indianred1(i = '', &block) ⇒ Object
1094
1095
1096
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1094
def indianred1(i = '', &block)
::Colours::Module256Colours.indianred1(i)
end
|
#is_this_a_256_colour?(i) ⇒ Boolean
#
is_this_a_256_colour?
#
#khaki1(i = '', &block) ⇒ Object
1234
1235
1236
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1234
def khaki1(i = '', &block)
::Colours::Module256Colours.khaki1(i)
end
|
#khaki3(i = '', &block) ⇒ Object
996
997
998
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 996
def khaki3(i = '', &block)
::Colours::Module256Colours.khaki3(i)
end
|
#lightcoral(i = '', &block) ⇒ Object
1122
1123
1124
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1122
def lightcoral(i = '', &block)
::Colours::Module256Colours.lightcoral(i)
end
|
#lightcyan1(i = '', &block) ⇒ Object
1052
1053
1054
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1052
def lightcyan1(i = '', &block)
::Colours::Module256Colours.lightcyan1(i)
end
|
#lightcyan3(i = '', &block) ⇒ Object
849
850
851
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 849
def lightcyan3(i = '', &block)
::Colours::Module256Colours.lightcyan3(i)
end
|
#lightgoldenrod1(i = '', &block) ⇒ Object
#lightgoldenrod2(i = '', &block) ⇒ Object
#lightgoldenrod3(i = '', &block) ⇒ Object
#lightgreen(i = '', &block) ⇒ Object
674
675
676
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 674
def lightgreen(i = '', &block)
::Colours::Module256Colours.lightgreen(i)
end
|
#lightpink1(i = '', &block) ⇒ Object
1171
1172
1173
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1171
def lightpink1(i = '', &block)
::Colours::Module256Colours.lightpink1(i)
end
|
#lightpink3(i = '', &block) ⇒ Object
933
934
935
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 933
def lightpink3(i = '', &block)
::Colours::Module256Colours.lightpink3(i)
end
|
#lightpink4(i = '', &block) ⇒ Object
548
549
550
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 548
def lightpink4(i = '', &block)
::Colours::Module256Colours.lightpink4(i)
end
|
#lightsalmon1(i = '', &block) ⇒ Object
#lightsalmon3(i = '', &block) ⇒ Object
#lightseagreen(i = '', &block) ⇒ Object
#lightskyblue1(i = '', &block) ⇒ Object
#lightskyblue3(i = '', &block) ⇒ Object
#lightslateblue(i = '', &block) ⇒ Object
#lightslategrey(i = '', &block) ⇒ Object
#lightsteelblue(i = '', &block) ⇒ Object
#lightsteelblue1(i = '', &block) ⇒ Object
#lightsteelblue3(i = '', &block) ⇒ Object
#lightyellow3(i = '', &block) ⇒ Object
#lime(i = '', &block) ⇒ Object
86
87
88
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 86
def lime(i = '', &block)
::Colours::Module256Colours.lime(i)
end
|
#magenta1(i = '', &block) ⇒ Object
1080
1081
1082
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1080
def magenta1(i = '', &block)
::Colours::Module256Colours.magenta1(i)
end
|
#magenta2(i = '', &block) ⇒ Object
898
899
900
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 898
def magenta2(i = '', &block)
::Colours::Module256Colours.magenta2(i)
end
|
#magenta3(i = '', &block) ⇒ Object
709
710
711
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 709
def magenta3(i = '', &block)
::Colours::Module256Colours.magenta3(i)
end
|
#maroon(i = '', &block) ⇒ Object
23
24
25
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 23
def maroon(i = '', &block)
::Colours::Module256Colours.maroon(i)
end
|
#mediumorchid(i = '', &block) ⇒ Object
#mediumorchid1(i = '', &block) ⇒ Object
#mediumorchid3(i = '', &block) ⇒ Object
#mediumpurple(i = '', &block) ⇒ Object
#mediumpurple1(i = '', &block) ⇒ Object
#mediumpurple2(i = '', &block) ⇒ Object
#mediumpurple3(i = '', &block) ⇒ Object
#mediumpurple4(i = '', &block) ⇒ Object
#mediumspringgreen(i = '', &block) ⇒ Object
#mediumturquoise(i = '', &block) ⇒ Object
#mediumvioletred(i = '', &block) ⇒ Object
#mistyrose1(i = '', &block) ⇒ Object
1206
1207
1208
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1206
def mistyrose1(i = '', &block)
::Colours::Module256Colours.mistyrose1(i)
end
|
#mistyrose3(i = '', &block) ⇒ Object
975
976
977
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 975
def mistyrose3(i = '', &block)
::Colours::Module256Colours.mistyrose3(i)
end
|
#navajowhite1(i = '', &block) ⇒ Object
#navajowhite3(i = '', &block) ⇒ Object
#navy(i = '', &block) ⇒ Object
44
45
46
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 44
def navy(i = '', &block)
::Colours::Module256Colours.navy(i)
end
|
#navyblue(i = '', &block) ⇒ Object
135
136
137
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 135
def navyblue(i = '', &block)
::Colours::Module256Colours.navyblue(i)
end
|
#olive(i = '', &block) ⇒ Object
37
38
39
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 37
def olive(i = '', &block)
::Colours::Module256Colours.olive(i)
end
|
#orange1(i = '', &block) ⇒ Object
1150
1151
1152
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1150
def orange1(i = '', &block)
::Colours::Module256Colours.orange1(i)
end
|
#orange3(i = '', &block) ⇒ Object
926
927
928
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 926
def orange3(i = '', &block)
::Colours::Module256Colours.orange3(i)
end
|
#orange4(i = '', &block) ⇒ Object
366
367
368
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 366
def orange4(i = '', &block)
::Colours::Module256Colours.orange4(i)
end
|
#orangered1(i = '', &block) ⇒ Object
1087
1088
1089
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1087
def orangered1(i = '', &block)
::Colours::Module256Colours.orangered1(i)
end
|
#orchid(i = '', &block) ⇒ Object
912
913
914
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 912
def orchid(i = '', &block)
::Colours::Module256Colours.orchid(i)
end
|
#orchid1(i = '', &block) ⇒ Object
1143
1144
1145
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1143
def orchid1(i = '', &block)
::Colours::Module256Colours.orchid1(i)
end
|
#orchid2(i = '', &block) ⇒ Object
1136
1137
1138
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1136
def orchid2(i = '', &block)
::Colours::Module256Colours.orchid2(i)
end
|
#palegreen1(i = '', &block) ⇒ Object
681
682
683
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 681
def palegreen1(i = '', &block)
::Colours::Module256Colours.palegreen1(i)
end
|
#palegreen3(i = '', &block) ⇒ Object
471
472
473
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 471
def palegreen3(i = '', &block)
::Colours::Module256Colours.palegreen3(i)
end
|
#paleturquoise1(i = '', &block) ⇒ Object
#paleturquoise4(i = '', &block) ⇒ Object
#palevioletred1(i = '', &block) ⇒ Object
#pink1(i = '', &block) ⇒ Object
1178
1179
1180
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1178
def pink1(i = '', &block)
::Colours::Module256Colours.pink1(i)
end
|
#pink3(i = '', &block) ⇒ Object
940
941
942
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 940
def pink3(i = '', &block)
::Colours::Module256Colours.pink3(i)
end
|
#plum1(i = '', &block) ⇒ Object
1185
1186
1187
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1185
def plum1(i = '', &block)
::Colours::Module256Colours.plum1(i)
end
|
#plum2(i = '', &block) ⇒ Object
989
990
991
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 989
def plum2(i = '', &block)
::Colours::Module256Colours.plum2(i)
end
|
#plum3(i = '', &block) ⇒ Object
947
948
949
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 947
def plum3(i = '', &block)
::Colours::Module256Colours.plum3(i)
end
|
#plum4(i = '', &block) ⇒ Object
555
556
557
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 555
def plum4(i = '', &block)
::Colours::Module256Colours.plum4(i)
end
|
#purple(i = '', &block) ⇒ Object
51
52
53
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 51
def purple(i = '', &block)
::Colours::Module256Colours.purple(i)
end
|
#purple3(i = '', &block) ⇒ Object
352
353
354
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 352
def purple3(i = '', &block)
::Colours::Module256Colours.purple3(i)
end
|
#purple4(i = '', &block) ⇒ Object
345
346
347
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 345
def purple4(i = '', &block)
::Colours::Module256Colours.purple4(i)
end
|
#red(i = '', &block) ⇒ Object
79
80
81
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 79
def red(i = '', &block)
::Colours::Module256Colours.red(i)
end
|
#red1(i = '', &block) ⇒ Object
1059
1060
1061
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1059
def red1(i = '', &block)
::Colours::Module256Colours.red1(i)
end
|
#red3(i = '', &block) ⇒ Object
695
696
697
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 695
def red3(i = '', &block)
::Colours::Module256Colours.red3(i)
end
|
#rosybrown(i = '', &block) ⇒ Object
772
773
774
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 772
def rosybrown(i = '', &block)
::Colours::Module256Colours.rosybrown(i)
end
|
#royalblue1(i = '', &block) ⇒ Object
394
395
396
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 394
def royalblue1(i = '', &block)
::Colours::Module256Colours.royalblue1(i)
end
|
#salmon1(i = '', &block) ⇒ Object
1115
1116
1117
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1115
def salmon1(i = '', &block)
::Colours::Module256Colours.salmon1(i)
end
|
#sandybrown(i = '', &block) ⇒ Object
1157
1158
1159
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1157
def sandybrown(i = '', &block)
::Colours::Module256Colours.sandybrown(i)
end
|
#seagreen1(i = '', &block) ⇒ Object
513
514
515
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 513
def seagreen1(i = '', &block)
::Colours::Module256Colours.seagreen1(i)
end
|
#seagreen2(i = '', &block) ⇒ Object
506
507
508
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 506
def seagreen2(i = '', &block)
::Colours::Module256Colours.seagreen2(i)
end
|
#seagreen3(i = '', &block) ⇒ Object
478
479
480
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 478
def seagreen3(i = '', &block)
::Colours::Module256Colours.seagreen3(i)
end
|
#silver(i = '', &block) ⇒ Object
65
66
67
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 65
def silver(i = '', &block)
::Colours::Module256Colours.silver(i)
end
|
#skyblue1(i = '', &block) ⇒ Object
660
661
662
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 660
def skyblue1(i = '', &block)
::Colours::Module256Colours.skyblue1(i)
end
|
#skyblue2(i = '', &block) ⇒ Object
639
640
641
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 639
def skyblue2(i = '', &block)
::Colours::Module256Colours.skyblue2(i)
end
|
#skyblue3(i = '', &block) ⇒ Object
457
458
459
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 457
def skyblue3(i = '', &block)
::Colours::Module256Colours.skyblue3(i)
end
|
#slateblue1(i = '', &block) ⇒ Object
569
570
571
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 569
def slateblue1(i = '', &block)
::Colours::Module256Colours.slateblue1(i)
end
|
#slateblue3(i = '', &block) ⇒ Object
387
388
389
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 387
def slateblue3(i = '', &block)
::Colours::Module256Colours.slateblue3(i)
end
|
#springgreen1(i = '', &block) ⇒ Object
#springgreen2(i = '', &block) ⇒ Object
#springgreen3(i = '', &block) ⇒ Object
#springgreen4(i = '', &block) ⇒ Object
#steelblue(i = '', &block) ⇒ Object
422
423
424
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 422
def steelblue(i = '', &block)
::Colours::Module256Colours.steelblue(i)
end
|
#steelblue1(i = '', &block) ⇒ Object
464
465
466
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 464
def steelblue1(i = '', &block)
::Colours::Module256Colours.steelblue1(i)
end
|
#steelblue3(i = '', &block) ⇒ Object
429
430
431
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 429
def steelblue3(i = '', &block)
::Colours::Module256Colours.steelblue3(i)
end
|
#tan(i = '', &block) ⇒ Object
968
969
970
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 968
def tan(i = '', &block)
::Colours::Module256Colours.tan(i)
end
|
#teal(i = '', &block) ⇒ Object
58
59
60
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 58
def teal(i = '', &block)
::Colours::Module256Colours.teal(i)
end
|
#thistle1(i = '', &block) ⇒ Object
1213
1214
1215
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1213
def thistle1(i = '', &block)
::Colours::Module256Colours.thistle1(i)
end
|
#thistle3(i = '', &block) ⇒ Object
982
983
984
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 982
def thistle3(i = '', &block)
::Colours::Module256Colours.thistle3(i)
end
|
#turquoise2(i = '', &block) ⇒ Object
289
290
291
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 289
def turquoise2(i = '', &block)
::Colours::Module256Colours.turquoise2(i)
end
|
#turquoise4(i = '', &block) ⇒ Object
205
206
207
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 205
def turquoise4(i = '', &block)
::Colours::Module256Colours.turquoise4(i)
end
|
#violet(i = '', &block) ⇒ Object
954
955
956
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 954
def violet(i = '', &block)
::Colours::Module256Colours.violet(i)
end
|
#wheat1(i = '', &block) ⇒ Object
1241
1242
1243
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1241
def wheat1(i = '', &block)
::Colours::Module256Colours.wheat1(i)
end
|
#wheat4(i = '', &block) ⇒ Object
583
584
585
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 583
def wheat4(i = '', &block)
::Colours::Module256Colours.wheat4(i)
end
|
#white(i = '', &block) ⇒ Object
121
122
123
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 121
def white(i = '', &block)
::Colours::Module256Colours.white(i)
end
|
#write_in_256_colour(i = 'hi there', id = 33) ⇒ Object
#
write_in_256_colour
Include-able method to the above module-level instance.
#
272
273
274
275
276
277
|
# File 'lib/colours/module_256_colours/module_256_colours.rb', line 272
def write_in_256_colour(
i = 'hi there',
id = 33
)
write_this_in_256_colours(i, id)
end
|
#yellow(i = '', &block) ⇒ Object
93
94
95
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 93
def yellow(i = '', &block)
::Colours::Module256Colours.yellow(i)
end
|
#yellow1(i = '', &block) ⇒ Object
1220
1221
1222
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1220
def yellow1(i = '', &block)
::Colours::Module256Colours.yellow1(i)
end
|
#yellow2(i = '', &block) ⇒ Object
1031
1032
1033
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 1031
def yellow2(i = '', &block)
::Colours::Module256Colours.yellow2(i)
end
|
#yellow3(i = '', &block) ⇒ Object
835
836
837
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 835
def yellow3(i = '', &block)
::Colours::Module256Colours.yellow3(i)
end
|
#yellow4(i = '', &block) ⇒ Object
576
577
578
|
# File 'lib/colours/autogenerated/256_colours_instance_methods.rb', line 576
def yellow4(i = '', &block)
::Colours::Module256Colours.yellow4(i)
end
|