{"repo":"KristofferC/Crayons.jl","free":true,"listed":false,"github":"https://github.com/KristofferC/Crayons.jl","clone":"git clone https://github.com/KristofferC/Crayons.jl.git","description":"Colored and styled strings for terminals.","language":"Julia","stars":163,"topics":["ansi-escape-codes","terminal","colors"],"license":null,"category":"cli-tools","readme_excerpt":"Colored and styled strings for terminals. Crayons is a package that makes it simple to write strings in different colors and styles to terminals. It supports the 16 system colors, both the 256 color and 24 bit true color extensions, and the different text styles available to terminals. The package is designed to perform well, have no dependencies and load quickly. Installation Usage Creating Crayon s A Crayon is created with the keyword only constructor: The foreground and background arguments support four forms: A Symbol representing a color. The available colors are black , red , green , yellow , blue , magenta , cyan , light gray , default , dark gray , light red , light green , light yellow , light blue , light magenta , light cyan and white . To see the colors in action, try Crayons.test system colors() . These colors are supported by almost all terminals. An Integer between 0 and 255. UInt32 values are interpreted as hexadecimal RGB colors as described below. This will use the 256 color ANSI escape codes. To see what number corresponds to what color and if your terminal supports 256 colors, use Crayons.test 256 colors(codes=true) . A Tuple of three Integer s, all between 0 and 255. This will be interpreted as a (r, g, b) 24 bit color. To test your terminal's support for 24-bit colors, use Crayons.test 24bit colors(codes=false) . The support for this is currently quite limited but is being improved in terminals continuously, see here. A UInt32 representing a color given ","default_branch":null,"files":null,"tree":[],"storefront":"/r/KristofferC","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KristofferC/Crayons.jl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}