All Projects → anuragsoni → color

anuragsoni / color

Licence: other
OCaml library to work with colors on the web

Programming Languages

ocaml
1615 projects
Makefile
30231 projects

Projects that are alternatives of or similar to color

Giotto
Theme manager for your app: apply styles to anything you want through a plist file
Stars: ✭ 18 (-10%)
Mutual labels:  color, colors
leeks.js
Simple ANSI styling for your terminal
Stars: ✭ 12 (-40%)
Mutual labels:  color, colors
jsoncolor
Colorized JSON output for Go
Stars: ✭ 27 (+35%)
Mutual labels:  color, colors
slick
Vim/Neovim Colortheme–Truecolor, Stunning, Complete
Stars: ✭ 15 (-25%)
Mutual labels:  color, colors
pantone-colors
Hex values of all 2310 Pantone colors
Stars: ✭ 147 (+635%)
Mutual labels:  color, colors
UIImageColorRatio
A tool to calculate the color ratio of UIImage in iOS.
Stars: ✭ 34 (+70%)
Mutual labels:  color, colors
multi-brand-colors
Multi Brand Colors with support for CSS/CSS-Vars/SCSS/SASS/Stylus/LESS/JSON
Stars: ✭ 26 (+30%)
Mutual labels:  color, colors
Zoya
Truly highly composable logging utility
Stars: ✭ 116 (+480%)
Mutual labels:  color, colors
anypalette.js
🎨 Read/write all color palette file formats ❤🧡💛💚💙💜
Stars: ✭ 41 (+105%)
Mutual labels:  color, colors
color-math
Expressions to manipulate colors.
Stars: ✭ 18 (-10%)
Mutual labels:  color, colors
Androidphotoshopcolorpicker
A fully featured Color picker Library for Android
Stars: ✭ 220 (+1000%)
Mutual labels:  color, colors
console-logging
Better, prettier commandline logging for Python--with colors! 👻
Stars: ✭ 111 (+455%)
Mutual labels:  color, colors
Colors.lol
🎨 Overly descriptive color palettes
Stars: ✭ 207 (+935%)
Mutual labels:  color, colors
colors
A gorgeous, accessible color system.
Stars: ✭ 748 (+3640%)
Mutual labels:  color, colors
Jsome
✨ Make your JSON look AWESOME
Stars: ✭ 179 (+795%)
Mutual labels:  color, colors
SwiftColorWheel
Delightful color picker wheel for iOS in Swift.
Stars: ✭ 37 (+85%)
Mutual labels:  color, colors
Console Logging
Better, prettier commandline logging for Python--with colors! 👻
Stars: ✭ 111 (+455%)
Mutual labels:  color, colors
Colors.jl
Color manipulation utilities for Julia
Stars: ✭ 114 (+470%)
Mutual labels:  color, colors
log-utils
Basic logging utils: colors, symbols and timestamp.
Stars: ✭ 24 (+20%)
Mutual labels:  color, colors
concolor
Colouring template strings using tags with annotations 🎨
Stars: ✭ 35 (+75%)
Mutual labels:  color, colors

color: converts between different color formats

Library that converts between different color formats. Right now it deals with HSL, HSLA, RGB and RGBA formats.

The goal for this library is to provide easy handling of colors on the web, when working with js_of_ocaml.

Examples

# Color.to_hexstring (Color.of_rgb 12 121 229);;
- : "#0c79e5"

The library uses the color type from Gg.

# Color.to_css_hsla (Gg.Color.red);;
- : string = "hsl(0.00, 100.00%, 50.00%)"

# Color.to_css_rgba (Gg.Color.red);;
- : string = "rgb(255, 0, 0)"

# Color.to_hexstring (Color.complementary (Gg.Color.red));;
- : string = "#00ffff"

Credit

Based on purescript-colors

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].