Automattic / Automattic/node-canvas

Support for color values with percentage representation ?

Open
#1,391 0 comments 0 reactions 0 assignees View on GitHub
Feature Help wanted
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

## Issue or Feature

The current implementation looks like ignoring color value with percentage representations `rgba(100%,100%,100%,1.0)`. It is valid css color value according to [this](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value) document. Is there any plan for supporting this or am I overlooking something ?

A library I am using outputs with this format and I am stuck here :S

## Your Environment
* Version of node-canvas (output of `npm list canvas` or `yarn list canvas`): canvas@2.4.1
* Environment (e.g. node 4.2.0 on Mac OS X 10.8): Mac OS X 10.4.3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.