Skip to content

Add the 6 color and 8 color sequence for the Petroff color cycles #30060

Closed
@matthewfeickert

Description

@matthewfeickert

The 6 color sequence by Petroff is not just a truncated 10 color sequence. It has distinct colors. You can read thrombus here and make a custom color sequence https://arxiv.org/abs/2107.02270.

Originally posted by @timhoffm in #27851 (comment)

@timhoffm That was my memory (and if I had dug back further into Issue #9460 I would have seen #9460 (comment) and it would be obvious, so thanks for the reminder on that), but it seemed weird given the discussions we had with @tacaswell on mpetroff/accessible-color-cycles#1 that we didn't add the 6 and 8 color sequence at the same time in PR #27851 so I thought I might be mistaken.

The colors for the 6, 8, and 10 sequences:

Replicating @mpetroff's #9460 (comment) here for easier access:

I finally finished the manuscript and have the pre-print posted (and the analysis code). The final results are:

Six color: #5790fc, #f89c20, #e42536, #964a8b, #9c9ca1, #7a21dd

["#5790fc", "#f89c20", "#e42536", "#964a8b", "#9c9ca1", "#7a21dd"]

Eight color: #1845fb, #ff5e02, #c91f16, #c849a9, #adad7d, #86c8dd, #578dff, #656364

["#1845fb", "#ff5e02", "#c91f16", "#c849a9", "#adad7d", "#86c8dd", "#578dff", "#656364"]

Ten color: #3f90da, #ffa90e, #bd1f01, #94a4a2, #832db6, #a96b59, #e76300, #b9ac70, #717581, #92dadd

["#3f90da", "#ffa90e", "#bd1f01", "#94a4a2", "#832db6", "#a96b59", "#e76300", "#b9ac70", "#717581", "#92dadd"]

make a custom color sequence

Is there a reason to not support the 6 and 8 sequence as well? I assume not, given that the style sheets have 8 color styles. Would a PR be of interest here?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions