# menukeys error option clash package color

as you can see I use a list of packages but when I try to use the menukeys package, I get an error as a result

``````\documentclass[14pt]{extbook}
\usepackage[spanish]{babel}
\usepackage[pass,paperwidth=8.5in,paperheight=11in]{geometry}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage[usenames]{color}
\usepackage{graphicx}
\usepackage{pstricks}
\let\clipbox\relax

\definecolor{mybluei}{RGB}{28,138,207}
``````

error

``````! LaTeX Error: Option clash for package color.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.78 \SetupKeyvalOptions
{family=mdf,prefix=mdf@}
?
``````
• The package you want to load is `xcolor`, not `color`. – Phelype Oleinik Jun 22 '19 at 0:34
• And the `usenames` option has been deprecated for quite a few years: it's the default. – Bernard Jun 22 '19 at 0:37
• but i use this type of code `\definecolor{mybluei}{RGB}{28,138,207}` – royer Jun 22 '19 at 3:16
• @royer And?... This shouldn't be a problem. – frougon Jun 22 '19 at 5:36
• @frougon yes, I believe I found the solution and I will publish it as an answer to my question and I hope it helps others who may have a similar problem. – royer Jun 22 '19 at 5:43

The solution is simple, you only have to delete the package `\usepackage[usenames]{color}`for this`\usepackage{xcolor}` and I think it would look like this:

``````\documentclass[14pt]{extbook}
\usepackage[spanish]{babel}
\usepackage[pass,paperwidth=8.5in,paperheight=11in]{geometry}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage{xcolor} % ----------------> package changed
\usepackage{graphicx}
\usepackage{pstricks}
\let\clipbox\relax