There are a number of roundabout ways to create a color palette in Photoshop. But if you often match the color schemes of graphics and web pages, you’ll want a straightforward method to keep the color of your designs consistent. Nothing beats this method when you already have specific content in the form of an HTML, HTM, CSS, or SVG file. Choose Window > Swatches to display the Swatches panel, and then click on the triangle in the top right corner to open the options menu. Select Load Swatches if you want to add swatches to your current set, or choose Replace Swatches if you want to load a new set replacing your current set. In the Load dialog box, click on the file format type pop-up menu at the bottom right corner of the dialog box and choose the file type you are opening. (For instance, if you are going to load swatches from an HTML page, then select HTML from the pop-up menu.) Navigate to your file and click Load, and Photoshop will add swatches from that file to the Swatches panel.