Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of "pastel" set of colour maps #3

Closed
MBravoS opened this issue Jul 15, 2021 · 6 comments
Closed

Addition of "pastel" set of colour maps #3

MBravoS opened this issue Jul 15, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@MBravoS
Copy link
Owner

MBravoS commented Jul 15, 2021

From the discussion in #1 has become clear that we need to replace cmocean's lighten tool with a new set of colour maps. These maps should have a smaller lightness dynamic range and chroma values to reproduce the effect of lighten when used on top of a white background (the most likely scenario).

@MBravoS MBravoS added the enhancement New feature or request label Jul 15, 2021
@MBravoS
Copy link
Owner Author

MBravoS commented Aug 19, 2021

I have added a first version on my development branch, with both jscm files (in a new folder) and viscm visualisations. What do you think @AstroRobin? I wasn't feeling particularly inspired about names, so they are all named as Xpastel (e.g., the blue pastel colour map is Bpastel), but I'm not sure if some variation of that or unique names would be the best approach.

@AstroRobin
Copy link
Collaborator

Most of the pastel colourmaps look quite nice and I'm encouraged enough to pursue adding these now. A feel of the colourmaps might need tweaking, for instance:

  • Purple and Magenta could diverge from one another slightly more.
  • Red could be made more red and avoid finishing in orange (if possible).
  • Orange should be brought closer to the current red.
  • Yellow has a significant tinge of green throughout. This colourmap will be very difficult to achieve given yellow saturates so quickly. But even moving it closer to the current orange might help.

Note, I haven't played will the colours paces for these, so these requests may be unfeasible.

@MBravoS
Copy link
Owner Author

MBravoS commented Aug 25, 2021

I agree, looking at the colour maps several of them aren't the right hues. I had another go at the colour maps you mentioned, and I think they are much better now. I have also added them to the package in my branch, so feel free to install that version to test the new versions.

@AstroRobin
Copy link
Collaborator

I think you've solved on all of my qualms above in the latest version. However, I'm now not 100% convinced by SoftBlue, it's almost too far on the grey side for me. A quick run through LabelColourmaps.py gives the following:
('french blue', '#436bad', '#5873a2')
('slate blue', '#5b7c99', '#617ba7')
('faded blue', '#658cbb', '#6a83ac')
('faded blue', '#658cbb', '#748bb1')
('faded blue', '#658cbb', '#7e93b7')
('blue/grey', '#758da3', '#879bbd')
('bluey grey', '#89a0b0', '#91a4c3')
('cloudy blue', '#acc2d9', '#9badc9')
('cloudy blue', '#acc2d9', '#a5b5d0')
('light blue grey', '#b7c9e2', '#afbed6')
('light blue grey', '#b7c9e2', '#bac8dd')
('light blue grey', '#b7c9e2', '#c5d1e5')
('light blue grey', '#b7c9e2', '#d0dbed')
('light blue grey', '#b7c9e2', '#dbe5f4')
('pale grey', '#fdfdfe', '#e7effd')

I've added a slightly modified version SoftBlue* to devel_matias to give a sense of the change I would make to this colourmap. Feel free to keep, modify or even ignore. The LabelColourmaps.py output of SoftBlue* is:
('windows blue', '#3778bf', '#3277bd')
('cool blue', '#4984b8', '#407fbf')
('cool blue', '#4984b8', '#4c87c1')
('faded blue', '#658cbb', '#5790c4')
('faded blue', '#658cbb', '#6398c7')
('greyblue', '#77a1b5', '#6ea1cb')
('greyblue', '#77a1b5', '#79a9cf')
('light grey blue', '#9dbcd4', '#84b3d3')
('light grey blue', '#9dbcd4', '#8fbbd8')
('light grey blue', '#9dbcd4', '#9ac5dd')
('light grey blue', '#9dbcd4', '#a5cee2')
('light grey blue', '#9dbcd4', '#b0d8e9')
('pale sky blue', '#bdf6fe', '#bbe2ef')
('pale sky blue', '#bdf6fe', '#c7ecf5')
('very light blue', '#d5ffff', '#d2f6fc')

@AstroRobin
Copy link
Collaborator

Also, as an aside, I think the directory name containing all the Soft jscm files should be renamed from "pastel" --> "soft".

@MBravoS
Copy link
Owner Author

MBravoS commented Aug 26, 2021

I like that one. I replaced mine with yours and the new version is now live with the new colour maps.

@MBravoS MBravoS closed this as completed Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants