# Emit accurate hex colors in generated themes \(\#3547\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c7e19c0bcde8d38839ce870a2eaca64d0a57f301)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c7e19c0bcde8d38839ce870a2eaca64d0a57f301

Requested commit: c7e19c0bcde8d38839ce870a2eaca64d0a57f301

Commit: c7e19c0bcde8d38839ce870a2eaca64d0a57f301

Tree: bcfcfa48400848a8dc35cb76186dbdd46620ae0a

Author: Marshall Bowers

Committer: GitHub

## Message

```
Emit accurate hex colors in generated themes (#3547)

This PR fixes an issues where the hex colors in the generated themes
were not correct.

We're using the [`palette`](https://crates.io/crates/palette) crate to
perform the conversions, as this gives us accurate hex codes that match
the VS Code source themes.

Release Notes:

- N/A
```

## Parents

- [0b78a401def30ef5c774734ee4ce7d566600a835](https://git.cafe/gitcafe/zed/commit/0b78a401def30ef5c774734ee4ce7d566600a835?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c7e19c0bcde8d38839ce870a2eaca64d0a57f301?format=markdown)
