% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ooxml.R
\name{solid_fill}
\alias{solid_fill}
\title{Solid fill DrawingML fragment}
\usage{
solid_fill(color)
}
\arguments{
\item{color}{a color value: a name (\code{"red"}), a hex string with or
without leading \verb{#} (\code{"#FF0000"} or \code{"FF0000"}), or \code{"transparent"}.
Anything accepted by \code{\link[grDevices:col2rgb]{grDevices::col2rgb()}} works; the alpha channel
is honored.}
}
\value{
a character string with the OOXML fragment, namespaced \verb{a:}.
}
\description{
Build an \verb{<a:solidFill>} block with an sRGB color and an
alpha channel. Used inside DrawingML shape properties wrappers such
as \verb{<a:spPr>}, \verb{<a:ln>}, \verb{<a:rPr>}, and chartEx-specific wrappers
such as \verb{<cx:spPr>}.

This is a low-level helper intended for packages that emit OOXML
fragments (e.g. \code{mschart}, \code{rvg}). End users typically rely on
higher-level objects (\code{\link[=fp_text]{fp_text()}}, \code{\link[=fp_border]{fp_border()}}, \code{\link[=sp_line]{sp_line()}}) that
embed the \verb{<a:solidFill>} block themselves.
}
\examples{
solid_fill("red")
solid_fill("#3366CC")
}
\keyword{internal}
