RubyGems Navigation menu

colours 0.3.18

This library is called colours. It unifies colour-related constants and methods, including R,G,B values for colours and the commonly known "HTML colours", such as "slateblue" or "royalblue" and so on. The RGB-related methods and the HTML colours, can also be used in applications such as the KDE Konsole. The HTML colours allow you to cherry-pick from more than different 100 names for colours. The primary goal for this project is to assist you for commandline-applications where colours may be needed. In May 2018, the project was rewritten and should now work better in many ways. Separate tests exist in the subdirectory test/ to ensure that the basic functionality for the various subcomponents of the colours gem do happen to work in a reliable manner. Some of these tests can output all HTML colours - from the commandline, for instance, this is also possible, by passing in the argument 'html_colours' or simply '1'. Example for this: konsole_colours html_colours This can also be tested from within the Colours namespace, via: Colours.test For more information, have a look at the link called "documentation", at the bottom right side of the colours gem homepage: http://www.rubydoc.info/gems/colours/0.3.18

Versions:

  1. 0.3.18 - February 22, 2019 (52.5 KB)
  2. 0.2.22 - October 29, 2018 (49.5 KB)
Show all versions (137 total)

Authors:

  • Robert A. Heiler

Owners:

SHA 256 checksum:

9826b3c6bac47f9b849e3f8a1c3b1f759ede5f58a059c18fb169a5d6c20869de

Total downloads 69,357

For this version 179

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

GPL-2.0

Required Ruby Version: >= 2.6.1

Required Rubygems Version: >= 3.0.2

Links: