Skip to content

nmfspalette color names not matching NOAA branding guide #74

Description

@Andrea-Havron-NOAA

I followed the link to the NOAA Fisheries Branding guide to view colors and get color names for a presentation I am working on. Currently the names between the branding guilde don't always match up with the names in nmfspalette. For example, the nmfspalette color, reflexblue is now called NOAA SKY.

Possible solutions:

  • Create a lookup table that matches the NOAA brand name to nmfspalette name so older code using the original names still work. This might be a good option if the NOAA brand names are frequently updated.
  • Update the nmfspalette names but include code that converts the old name to the new name. The code could possibly throw a deprecated warning as well.

I think it would also be useful to add a get_nmfs_colors() function that returns all nmfspalette color names with their hex code. Also, a display_nmfs_color() function could return scales::show_col(nmfs_cols("name")) to plot individual colos.

I'd be happy to work on this and develop a PR with changes. I have free time in about a month.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions