-
I installed latest version tinycolor and imported(included) this in my app. All worked fine.
then I was installing md-color-picker and tried include md-color-picker, but got the error. 'tinycolor is n…
-
```
import { inputToRGB } from '@ctrl/tinycolor';
```
then `inputToRGB` is undefined. because it resolved to `@ctrl/tinycolor/dist/index.js`
but if i change like this it can work.
```
impo…
-
Spectrum with option allowEmpty set to true fires change event on input element when empty color isn't changed.
Simple fix:
``` javascript
// `equals`
// Can be called with any tinycolor inp…
-
**Issue by [njx](https://github.com/njx)**
_Sunday Nov 18, 2012 at 19:52 GMT_
_Originally opened as https://github.com/adobe/brackets/pull/2146_
----
----
_**[njx](https://github.com/njx)** incl…
-
This code produces rounded output:
```ts
tinycolor('rgb(255, 25.5, 0)').toRgb();
// {r: 255, g: 26, b: 0, a: 1}
```
`25.5` was rounded to `26`.
Is the rounding intentional?
See this PR wh…
-
Hi, I've been trying to migrate the [TinyColor](https://github.com/bgrins/TinyColor) library to use Deno and cross compile to Node (CJS and ESM). It's all working fine (https://github.com/bgrins/TinyC…
-
Hey, in some cases, e.g. when delivering data to iOS you need a ratio rgb color. It would be great if tinycolor could also support `toRgbRatio`.
I think it would work like this
```js
const colo…
-
This module fails to load, if it's already loaded by another module, on this line:
https://github.com/einaros/tinycolor/blob/master/tinycolor.js#L32
The issue is that the properties can not be overwr…
-
Spectrum comes with a built-in library called tinyColor for color manipulation. Is there a reason to be using both libraries?
Not really a bug, was just curious as it might help cut back on some un…
-
Needed this tool, tried a few of the other dart color addons and this did the trick. I got inspired with the new extension method in Dart that made it really easy to extend the Color object with all …