Skip to content

GBC Palette Color Functions #30

@Hawkbat

Description

@Hawkbat

There aren't a lot of direct uses for these functions when hand-writing assembly, but it would let the VS Code plugin provide a color picker so it would be a neat thing to add.

  • RGB(r, g, b) maps RGB colors to their closest equivalent in the GBC's color space.
  • HSV(h, s, v) maps HSV colors to their closest equivalent in the GBC's color space.
  • HSL(h, s, l) maps HSL colors to their closest equivalent in the GBC's color space.
  • COLORMAP type keyword determines the mapping algorithm used from that line onwards; initial options would include raw, BGB-like, and SameBoy-like presets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions