Liking cljdoc? Tell your friends :D
Clojure only.

easy-assert.shared.ansi


get-color-codeclj

(get-color-code color)

Returns the ANSI escape code for the given color.

Parameters: color - The color keyword for which to get the ANSI code.

Returns: A string representing the ANSI escape code for the given color, or the reset code if the color is not found.

Returns the ANSI escape code for the given color.

Parameters:
  `color` - The color keyword for which to get the ANSI code.

Returns:
  A string representing the ANSI escape code for the given color, or the reset code if the color is not found.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close