Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/julow/juloocolorhighlight

[Discontinued] --> https://github.com/Julow/Juloo-Sublime-Package
https://github.com/julow/juloocolorhighlight

Last synced: 3 months ago
JSON representation

[Discontinued] --> https://github.com/Julow/Juloo-Sublime-Package

Awesome Lists containing this project

README

        

Please use [Juloo-Sublime-Package](https://github.com/Julow/Juloo-Sublime-Package).

It does more than juste highlight colors.

# JulooColorHighlight

Highlight colors in code

![ColorHighlight](/captures/highlight-example.png)

### Convert Colors

There is some commands to convert colors

![Commands](/captures/commands-example.png)

### Installation

`git clone` this repo in `%Sublime text location%/Packages/JulooColorHighlight`

### Supported colors

###### RGBA rgba(RRR, GGG, BBB, A.A)

`rgb(50, 150, 200)`

`rgba(50, 150, 200, 1)`

###### ARGB argb(AAA, RRR, GGG, BBB)

`argb(255, 50, 150, 200)`

###### HEX #RRGGBBAA

`#A98`

`#FA98`

`#AA9988`

`#FFAA9988`

###### INT 0xAARRGGBB

`0x5599FF`

`0xFFAA443F`

###### HSLA hsla(HHH, SSS, LLL, A.A)

`hsl(100, 50, 50)`

`hsla(100, 50%, 50%, 0.5)`

###### Float Array [R.R, G.G, B.B, A.A]

`[ 0.19607, 0.58823, 0.78431 ]`

`{ 0.19607f, 0.58823f, 0.78431f, 1f }`

### License

> The MIT License (MIT)
>
> Copyright (c) 2014 juloo
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of
> this software and associated documentation files (the "Software"), to deal in
> the Software without restriction, including without limitation the rights to
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
> the Software, and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.