# Using a custom tikz library with defined colors for multiple figures

I am writing a document which includes several figures done in tikz and I want to use the same color in all of them. Currently, I am defining all of them in each file as `\definecolor{LightBlue}{HTML}{dae8fc}` for example. I would like to have a library with all the colors defined for all `.tikz` files.

I have a `tikzlibrarymycolors.code.tex` file with:

``````\definecolor{lightBlue}{HTML}{dae8fc}
\definecolor{darkBlue}{HTML}{6c8ebf}
\definecolor{darkGreen}{HTML}{82b366}
\definecolor{ligthGreen}{HTML}{d5e8d4}
``````

And for each figure I include `\usetikzlibrary{mycolors}`. However, I get the error `Package tikz: I did not find the tikz library 'mycolors'. I looked for files named tikzlibrarymycolors.code.tex and pgflibrarymycolors.code.tex, but neither could be found in the current texmf trees.`

I want to keep this library just locally to the current document. Do I need to build the texmf tree? I am using [https://tug.org/texlive/quickinstall.html][1]

Thanks for the help. [1]: https://tug.org/texlive/quickinstall.html