to-color - convert an arbitrary string into an identifying color

  •        4

Given an arbitrary string, create a rgba color of a specified opacity to identify it visually.

https://github.com/mapbox/to-color

Tags
Implementation
License
Platform

   




Related Projects

PleaseJS - JavaScript Library for creating random pleasing colors and color schemes

  •    Javascript

Please.js is a polite companion that wants to help you make your projects beautiful. It uses HSV color space to create random pleasing colors as well as color schemes based on a given color. It has two core functions and a bunch of little helpers for you to use. The make_color function by default will generate and return a random hex string using the golden ratio to ensure that the color will look nice on your screen.

randomColor - A tiny script for generating attractive colors

  •    Javascript

A tiny script for generating attractive random colors. See the demo for an explanation and some samples. randomColor has been ported to C#, C++, Go, Haskell, PHP, Python, Swift, Objective-C, Java, R and Rust. hue – Controls the hue of the generated color. You can pass a string representing a color name: red, orange, yellow, green, blue, purple, pink and monochrome are currently supported. If you pass a hexidecimal color string such as #00FFFF, randomColor will extract its hue value and use that to generate colors.

colorful - Terminal string styling done right, in Python :snake: :tada:

  •    Python

Note: on a Windows system it will install colorama as a dependency to ensure proper ANSI support. These days terminals not only support the ancient 8 ANSI colors but often they support up to 16 Million colors with true color. And if they don't support true color they might support the 256 ANSI color palette at least.

geo_pattern - Create beautiful generative geometric background images from a string.

  •    Ruby

Generate beautiful tiling SVG patterns from a string. The string is converted into a SHA and a color and pattern are determined based on the values in the hash. The color is determined by shifting the hue and saturation from a default (or passed in) base color. One of 16 patterns is used (or you can specify one) and the sizing of the pattern elements is also determined by the hash values. You can use the generated pattern as the background-image for a container. Using the base64 representation of the pattern still results in SVG rendering, so it looks great on retina displays.

Pickard - color selector

  •    Delphi

Hot features: Spectrum color picker, Screen magnifier, Eyedropper, Multple color spaces support (RGB, HSL, CMY, YUV), Multiple color string support (HTML, C++, Delphi, VisualBasic).


UIColor-Hex-Swift - Convenience methods for creating color using RGBA hex string.

  •    Swift

Convenience method for creating autoreleased color using RGBA hex string. Then add the HexColor.framework to your frameworks list in the Xcode project.

color-schemer - A sassy way to build color schemes

  •    CSS

Color schemer is a robust color toolset for Sass. It expands on the existing Sass color functions and adds things like RYB manipulation, * set-hue, * set-lightness, tint, shade and more. It also leverages these tools adding a full-featured color scheming tool that allows you to set one primary color and create whole color schemes around it. gem install color-schemer in your terminal.

python-versioneer - version-string management for VCS-controlled trees

  •    Python

This is a tool for managing a recorded version number in distutils-based python projects. The goal is to remove the tedious and error-prone "update the embedded version string" step from your release process. Making a new release should be as easy as recording a new tag in your version-control system, and maybe making new tarballs. For released software, the version identifier is closely related to a VCS tag. Some projects use tag names that include more than just the version string (e.g. "myproject-1.2" instead of just "1.2"), in which case the tool needs to strip the tag prefix to extract the version identifier. For unreleased software (between tags), the version identifier should provide enough information to help developers recreate the same tree, while also giving them an idea of roughly how old the tree is (after version 1.2, before version 1.3). Many VCS systems can report a description that captures this, for example git describe --tags --dirty --always reports things like "0.7-1-g574ab98-dirty" to indicate that the checkout is one revision past the 0.7 tag, has a unique revision id of "574ab98", and is "dirty" (it has uncommitted changes.

scss-blend-modes - Using standard color blending functions in SASS.

  •    CSS

CSS doesn't natively support color blending the way that Photoshop does. This library attempts to fake that by allowing you to blend a foreground color with a background color in order to approximate color blending. This is not a dynamic blend; you can't use this to blend a color with an image. This was originally intended for use with the Compass Photoshop Drop Shadow Plugin but it proved impractical to integrate. Adobe has been working on a W3C spec to add blend modes to CSS3. However, CSS blend modes have extremely limited support in browsers, as of September 2013. This library is not a polyfill for those blend modes. A polyfill for dynamic blend modes will require something like SVG and JavaScript and would likely be quite complicated (or impossible).

Swiftline - Swiftline is a set of tools to help you create command line applications.

  •    Swift

Colorize helps styling the strings before printing them to the terminal. You can change the text color, the text background and the text style. Colorize works by extending String struct to add styling to it.

kleur - The fastest Node.js library for formatting terminal text with ANSI colors~!

  •    Javascript

Toggle color support as needed; kleur assumes it's always enabled. Any kleur method returns a String (when invoked, not chained). It's up to the developer to pass the output to destinations like console.log, process.stdout.write, etc.

clui - Command Line UI toolkit for Node.js

  •    Javascript

October 8, 2014 - Adding Line.contents() for fetching the contents of a line as a string. June 2, 2014 - Fixed a crash caused by inability to locate the required trim helper in the latest version of cli-color. (And locked down the version of the cli-color dependency to stop this from ever happening again.) Also removed lodash as a dependency in favor of vanilla JS, to keep installs faster and smaller than ever.

color-js - A color management API for javascript

  •    Javascript

I no longer have time to maintain this project in a timely manner and am looking for someone to take over. If you are interested please contact me. Color.js provides an API to do simple color management in javascript. Color objects provide methods to do a number of common, useful operations independent of the underlying color model they need.

Color Clutch

  •    C++

Color Clutch is a solution to a color calibration problem found across various versions of Windows. Some full-screen applications (e.g. games) are unable to hold monitor color calibration, leading to incorrect color. Color Clutch prevents this.

Alembic - ⚗️ Extract a color palette from Sketch images

  •    Javascript

A Sketch plugin to extract a color palette from any layer that contains bitmap data. This works for both images and layers with a Pattern fill. Alembic uses Color Thief to extract a representative color palette. Hi, we’re Awkward. A while ago, we came across this Tweet with an idea for a Sketch plugin that extracts color palettes from images. We felt like it was perfect to experiment with and the idea resulted in Alembic.

Prysm - Python Log File Colorizer

  •    Python

Prysm is simply a log file colorizer implemented in Python. The current incarnation allows you to specify a 'color.rules' file that has the string you want matched, the foreground color and then the background color. To use it you simply pipe a stream

open-color - Color scheme for UI design.

  •    CSS

Open color is an open-source color scheme optimized for UI like font, background, border, etc. Import the file to your project and use the variables.

emojione-color-font - End of Life. Switch to https://github.com/eosrei/twemoji-color-font

  •    Makefile

Upstream licensing has changed (details). This is the final release of this project. There will be no further updates. Switch to Twitter Color Emoji SVGinOT Font for Unicode 10.0 and Emoji 5.0. A color and B&W emoji SVGinOT font built from EmojiOne artwork with support for ZWJ, skin tone diversity and country flags.

r-color-palettes - Comprehensive list of color palettes available in r

  •    R

The goal of this repository is to have a one stop destination for anyone looking for a color palette to use in r. If you would like to help/contribute please feel free post an issue, PR or send a email to emilhhvitfeldt@gmail.com. Further down the page is all the palettes available in the R ecosystem ordered alphabetically by package name. A list of palettes ordered by type can be found here Type sorted palettes to shorten the length of this page.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.