All Projects → sharkdp → purescript-colors

sharkdp / purescript-colors

Licence: MIT License
Convert, manipulate, analyze, blend, color scales, color schemes

Programming Languages

purescript
368 projects
Dhall
116 projects

Projects that are alternatives of or similar to purescript-colors

system-76-keyboards
Rainbow / CPU monitor for system76 colored keyboards
Stars: ✭ 37 (-9.76%)
Mutual labels:  colors, colorspace
colors-convert
🦚 A simple colors library
Stars: ✭ 15 (-63.41%)
Mutual labels:  colors, colorspace
tmux
💽 Soothing pastel theme for Tmux!
Stars: ✭ 63 (+53.66%)
Mutual labels:  colors
dithering algorithms
Sample implementation for different common dithering algorithms
Stars: ✭ 43 (+4.88%)
Mutual labels:  colors
SwiftGradients
Useful extensions for UIViews and CALayer classes to add beautiful color gradients.
Stars: ✭ 15 (-63.41%)
Mutual labels:  colors
meta-theme-sky-color
Js snippet that changes the mobile Chrome nav bar color to the color of the sky based on time of day.
Stars: ✭ 19 (-53.66%)
Mutual labels:  colors
random color
⚙️🎨 Rust crate for generating random attractive colors
Stars: ✭ 30 (-26.83%)
Mutual labels:  colors
colorify
Colorify - C# .Net Console Library with Text Format: colors, alignment and lot more [ Win+Mac+Linux ]
Stars: ✭ 49 (+19.51%)
Mutual labels:  colors
glyph-palette.vim
🎨 An universal palette for Nerd Fonts
Stars: ✭ 84 (+104.88%)
Mutual labels:  colors
captcha-breaking-library
Neural network, contour analysis, bitmap vector subtraction CAPTCHA solving library and scripting language with perceptive color space segmentation
Stars: ✭ 76 (+85.37%)
Mutual labels:  colorspace
Colorwaver
🎨 An app to detect color palettes in the real world - powered by VisionCamera
Stars: ✭ 365 (+790.24%)
Mutual labels:  colors
kfc
A terminal-emulator color palette setter written in POSIX C99.
Stars: ✭ 25 (-39.02%)
Mutual labels:  colors
tasarimcilar-ve-yazilimcilar-icin-kaynak-arsivim
Tasarım ve yazılım ile ilgili 2017 yılından günümüze kadar geçen zamanda toplamış olduğum arşivimi sizle ile paylaşıyorum. Ne mi var her şey...
Stars: ✭ 276 (+573.17%)
Mutual labels:  colors
Coolors
Beautiful Color Palettes
Stars: ✭ 26 (-36.59%)
Mutual labels:  colors
line
An easy to use golang package for stylizing terminal output
Stars: ✭ 26 (-36.59%)
Mutual labels:  colors
ImmersiveColors
Easy way to access Windows 10 Immersive colors
Stars: ✭ 64 (+56.1%)
Mutual labels:  colors
colortest
Quickly show all your terminal colors
Stars: ✭ 66 (+60.98%)
Mutual labels:  colors
netbeans-color-codes-preview
Show colors in an editor's sidebar
Stars: ✭ 24 (-41.46%)
Mutual labels:  colors
colorfu
Make beautiful but also meaningful wallpapers with words, colors, patterns and images. 🌈
Stars: ✭ 275 (+570.73%)
Mutual labels:  colors
hex-color-regex
Regular expression for matching hex color values from string.
Stars: ✭ 29 (-29.27%)
Mutual labels:  colors

Colors

CI Release Pursuit

A package for dealing with colors in PureScript.

Installation

Install colors with Spago:

spago install colors

Quick start

> toHexString (hsl 200.0 0.4 0.5)
"#4d91b3"

> cssStringHSLA (seagreen # lighten 0.2 # saturate 0.3)
"hsl(146.45, 80.27%, 56.27%)"

> toHexString <$> colors (colorScale HSL hotpink Nil darksalmon) 5
"#ff69b4" : "#fa6d99" : "#f47182" : "#ef7d76" : "#e9967a" : Nil

> toHexString <$> (sortBy (comparing luminance) [black, white, blue, lightgreen])
["#000000","#0000ff","#90ee90","#ffffff"]

Documentation

Otherwise, colors documentation is stored in a few places:

  1. Module documentation is published on Pursuit.
  2. Written documentation is kept in the docs directory.
  3. Usage examples can be found in the test suite.

If you get stuck, there are several ways to get help:

Contributing

You can contribute to colors in several ways:

  1. If you encounter a problem or have a question, please open an issue. We'll do our best to work with you to resolve or answer it.

  2. If you would like to contribute code, tests, or documentation, please read the contributor guide. It's a short, helpful introduction to contributing to this library, including development instructions.

  3. If you have written a library, tutorial, guide, or other resource based on this package, please share it on the PureScript Discourse! Writing libraries and learning resources are a great way to help this library succeed.

Credit

Based on initial work by paf31 and inspired by (the PureScript version of) Elm.Color, TinyColor and Chroma.js.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].