Following page 17 of the bytefield package documentation:
extracting the above to this MCVE:
\documentclass{article}
\usepackage{bytefield}
\usepackage{xcolor}
\usepackage{graphicx}
\definecolor{lightgray}{gray}{0.8}
\begin{document}
\begin{bytefield}{32}
\bitheader{0,4,8,12,16,20,24,28} \
\bitbox{8}{Tag} & \bitbox{8}{Value} &
\bitbox{4}[bgcolor=lightgray]{} &
\bitbox{12}{Mask} \
\wordbox{1}{Key}
\end{bytefield}
\end{document}
and using pdflatex test.tex and firefox test.pdf I'm getting some weird result where it seems the bgcolor argument isn't being recognized (see below):
If I use \listfiles I get:
*File List*
article.cls 2019/12/20 v1.4l Standard LaTeX document class
size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
bytefield.sty 2017/09/15 v2.4 Network protocol diagrams
calc.sty 2017/05/25 v4.3 Infix arithmetic (KKT,FJ)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
graphicx.sty 2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
l3backend-pdfmode.def 2020-02-03 L3 backend support: PDF mode
supp-pdf.mkii
epstopdf-base.sty 2020-01-24 v2.11 Base part for package epstopdf
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live

