# UnitfulColors.jl

**URL:** <https://discourse.julialang.org/t/unitfulcolors-jl/70226>\
**Category:** Package Announcements\
**Created:** [October 22, 2021, 4:10pm UTC](https://discourse.julialang.org/t/unitfulcolors-jl/70226 "2021-10-22T16:10:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustaphe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gustaphe/32/18174_2.png) [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Post date:** [October 22, 2021, 4:10pm UTC](https://discourse.julialang.org/t/unitfulcolors-jl/70226/1 "2021-10-22T16:10:34Z")

</div>

I was digging through my `~/.julia/dev/` folder and found this package which I worked on about a year ago.

[https://github.com/gustaphe/UnitfulColors.jl](https://github.com/gustaphe/UnitfulColors.jl)

```julia
using UnitfulColors
using Unitful, Plots, UnitfulRecipes, Latexify, UnitfulLatexify
λ = (500:700)u"nm";
I = 1.3u"W/m^2"*exp.(-(λ .- 610u"nm").^2 ./ (50u"nm")^2);
plot(λ, I; st=:scatter, unitformat=latexify, color=colormatch.(λ), label=nothing, xguide="\\lambda", yguide="I", fontfamily="Computer Modern")

```

![image](https://global.discourse-cdn.com/julialang/original/3X/5/1/51da7929991a47e22e917d53b43e2810a88f62ba.png)

It also does light frequency and temperature (two different ways). I think it’s cute.

Do you see a use of this? Should I register it, or can you think of another package where it would fit?

---

<div class="post-metadata">

**Author:** ![runjaj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/runjaj/32/23628_2.png) [@runjaj](https://discourse.julialang.org/u/runjaj)\
**Post date:** [October 22, 2021, 6:44pm UTC](https://discourse.julialang.org/t/unitfulcolors-jl/70226/2 "2021-10-22T18:44:43Z")

</div>

Please, do it. A few days ago I was looking for a package like this one.

---

<div class="post-metadata">

**Author:** ![gustaphe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gustaphe/32/18174_2.png) [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Post date:** [October 26, 2021, 1:46pm UTC](https://discourse.julialang.org/t/unitfulcolors-jl/70226/3 "2021-10-26T13:46:52Z")

</div>

There we go, `]add UnitfulColors`.
