Comments (4)
Confirmed (on 0.7.3, and on master)
As a work around:
if you use NamedColors.jl
They will parse.
NamedColors adds a fallback on colorant
to its own much more extensive colors lists
Though I think the definition of Indigo disagrees.
This maybe because the there are multiple conflicting definitions for indigo.
julia> using NamedColors
julia> colorant"aqua"
RGB24{N0f8}(0.0,1.0,1.0)
julia> colorant"indigo"
RGB24{N0f8}(0.22,0.008,0.51)
julia> colorant"lime"
RGB24{N0f8}(0.0,1.0,0.0)
julia> colorant"teal"
RGB24{N0f8}(0.0,0.502,0.502)
from colors.jl.
Thank you for your confirmation.
The result of indigo in NamedColors.jl seems to be from the XKCD color survey.
As colorant"red"
is parsed as RGB{N0f8}(1.0,0.0,0.0)
, which disagrees with the XKCD's one, there is, I think, little reason to prefer the XKCD's definition.
from colors.jl.
NamedColors.jl
always prefers Color.jl
's definitions in preference to all others, no mater what you do.
After that point there is a configurable list of precedence for the various color dictionaries.
On which XKCD is supposed to be by default near the bottom.
I'll have to check that is working right: JuliaGraphics/NamedColors.jl#8
thanks
from colors.jl.
Fixed by #279
from colors.jl.
Related Issues (20)
- Not work on Ubuntu 2004 HOT 5
- RGB -> XTerm256 approximation? HOT 13
- move storage type conversion trait from ImageCore to Colors HOT 6
- Optimizing the types used for intermediate calculations HOT 5
- Source of the YIQ transform matrix HOT 1
- is `inv` on Colors well defined? HOT 4
- Fatal performance degradation due to precompilation or inference bugs HOT 8
- MethodError: no method matching coloralpha(::Type{RGB24}) HOT 1
- What should `default_brettel_neutral` be? HOT 1
- Ambiguity with AbstractTrees
- 'Render' colours in REPL HOT 15
- in the README, put a link on the home page HOT 2
- colorwheel generator HOT 1
- add colorwheel generator HOT 1
- Release v0.13? HOT 2
- Ambiguous show method for `Union{}[]` HOT 3
- colormap("<Color>", maxcount; w=<Int>, logscale=<Bool>) stackoverflows HOT 7
- oklab/oklch for CSS4 and cheap deltaE HOT 1
- BGR interpreted as RGB HOT 1
- Luv and LCHuv gives incorrect color values for low lightness cyan HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colors.jl.