The following is an image of a sub-section of the documentation of the package xcolor.

How to insert such a color swatch within text? I need it to explain the functionality of different parts of a schematic.
|
The following is an image of a sub-section of the documentation of the package
How to insert such a color swatch within text? I need it to explain the functionality of different parts of a schematic. |
||||
|
You could inspect the original source code for the It uses a Code
|
||||
|
|
|
I think the other answer is the way to go, but just in case you'd like to do it with
This gives you access to all of the fun things that
|
||||
|
tex latex color swatchgives you some more relevant pages. – Matthew Leingang Oct 23 '12 at 0:17