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

Add colors to regions #1179

Open
Idhrendur opened this issue Sep 9, 2021 · 2 comments
Open

Add colors to regions #1179

Idhrendur opened this issue Sep 9, 2021 · 2 comments

Comments

@Idhrendur
Copy link
Member

Use them to define map and flag colors for unrecognized nations.

Maybe also use them to tweak the color of dominions from the parent country colors.

@IohannesIohannium
Copy link
Contributor

Added them in the configurable through #1414.
They should be added in code. While "unrecognized" nations would simply get the region's true color, generated dominions should have the colour calculated by two parts overlord, one part region. That is, if the overlord is { A B C } and the region { X Y Z }, the generated dominion's color should be { [(2A+X)/3] [(2B+Y)/3] [(2C+Z)/3] }, rounded to integers.

@Idhrendur
Copy link
Member Author

The particulars of the generated dominion colors I'd tweak. They should be modified from within the HSV color space so they're recognizably similar to the overlord color.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants