Skip to content

Palette gradient based on HSV #2171

@neutron9

Description

@neutron9

Currently Aseprite is using RGB to create gradient for palettes.

For example, I want to make a gradient from (255,0,0) to (0,0,255), it will look like this:
图片
The generated middle one looks a bit darker, since it's (128,0,128) which only has 50% value, while the original ones have 100%.
RGB: (255,0,0)→(128,0,128)→(0,0,255)
HSV: (0,100%,100%)→(300,100%,50%)→(240,100%,100%)

If it's based on HSV, then it will look like:
图片
Look more natural.
RGB: (255,0,0)→(255,0,255)→(0,0,255)
HSV: (0,100%,100%)→(300,100%,100%)→(240,100%,100%)

An option could be added for users to choose.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions