bash-colour-testcard

A script to display a table of colours based on the number of colours that your terminal is able to support.

https://github.com/developerstoolbox/bash-colour-testcard

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.9%) to scientific vocabulary

Keywords

bash colour testcard wolfsoftware
Last synced: 4 months ago · JSON representation ·

Repository

A script to display a table of colours based on the number of colours that your terminal is able to support.

Basic Info
  • Host: GitHub
  • Owner: DevelopersToolbox
  • License: mit
  • Language: Shell
  • Default Branch: master
  • Homepage:
  • Size: 184 KB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 3
  • Releases: 1
Topics
bash colour testcard wolfsoftware
Created almost 5 years ago · Last pushed 4 months ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Codeowners Security

README.md

DevelopersToolbox logo
Github Build Status License Created
Release Released Commits since release

Overview

This is a script to display a matrix of colours based on the number of colours that your terminal is able to support.

It will make best efforts to size the output to the size of your terminal making it display nicely in most terminals.

It has the following command line options

``` Usage: bash-colour-testcard.sh [ -h ] [ -cnst ] [ -m number ]

-h : Print this screen -c : complete mode (foreground & background [256 x 256]) -m : set the maximum number of colours to display (between 0-256) -n : display just the number of supported colours -s : simple mode (colour codes only [256]) -t : test mode (will prompt you for colour codes and display the results) ```

Note: -c, -n, -s & -t must be used independently and not combined. -m is used in conjunction with the others in order to limit the number of displayed colours, used on its own it does nothing.

Test Mode

The -t command parameter will allow you to enter 'test mode'. In this mode the script will ask you to enter values for the foreground and background colours and it will then display that colour combination with some test text, it will show you a second test output with the text in bold.

You can test as many colour combinations are you like (or until you get bored).


Owner

  • Name: Developers Toolbox
  • Login: DevelopersToolbox
  • Kind: organization
  • Email: github@wolfsoftware.com
  • Location: United Kingdom

A selection of tools to help developers. Created by Wolf Software.

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software, please cite it using these metadata.
title: Bash Colour Testcard
abstract: A script to display a table of colours based on the number of colours that your terminal is able to support.
type: software
version: 0.1.0
date-released: 2024-06-04
repository-code: https://github.com/DevelopersToolbox/bash-colour-testcard
keywords:
  - "Wolf Software"
  - "Software"
license: MIT
authors:
  - family-names: "Wolf"
    orcid: "https://orcid.org/0009-0007-0983-2072"

GitHub Events

Total
  • Delete event: 63
  • Issue comment event: 136
  • Push event: 123
  • Pull request review event: 106
  • Pull request event: 127
  • Create event: 69
Last Year
  • Delete event: 63
  • Issue comment event: 136
  • Push event: 123
  • Pull request review event: 106
  • Pull request event: 127
  • Create event: 69

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 0
  • Total pull requests: 116
  • Average time to close issues: N/A
  • Average time to close pull requests: about 23 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.87
  • Merged pull requests: 103
  • Bot issues: 0
  • Bot pull requests: 116
Past Year
  • Issues: 0
  • Pull requests: 97
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.89
  • Merged pull requests: 85
  • Bot issues: 0
  • Bot pull requests: 97
Top Authors
Issue Authors
  • dependabot[bot] (2)
Pull Request Authors
  • dependabot[bot] (158)
Top Labels
Issue Labels
dependabot: dependencies (2) dependabot: ecosystem : github actions (2) dependabot: auto approve (2) dependabot: auto merge (2)
Pull Request Labels
dependabot: dependencies (158) dependabot: ecosystem : github actions (158) dependabot: auto approve (145) dependabot: auto merge (145) dependabot: manual merge (7)