True product colour in demos
Measure your product's colour in every take and correct it from a grey card.
See it work
4Correct each take from its card
product-demos-from-phone-footage.md
Everything on this page, as a Markdown file.
Copy these
Ask for a product colour checkText
Use the color-grade-and-match skill. I am checking product colour in a product demo, not building a look. Product: [PRODUCT AND ITS COLOUR, E.G. AMBER GLASS BOTTLE] Reference: [FILE NAME], a still of the product beside a grey card in daylight, phone locked. Takes: [NUMBER], each opening with the same grey card in shot for two seconds. Mode: [CLAUDE CODE, CLAUDE.AI OR PLAN ONLY] 1. Pull one frame per take while the card is in shot. Show me the boxes you drew on the card and on the product before you measure. 2. Measure the reference: the card's a and b, and the product's colour as a hex code. That hex is the reference. 3. Measure the card and the product in every take, the product against the reference in CIEDE2000. Flag any take where the card moves more than 2 on the b axis during the shot. 4. Correct each take from its card, render a few seconds, measure the real frame and report before and after for the card and the product. Predicted numbers do not count. 5. List the takes still more than 2 from the reference, and tell me which to check against the real product by eye. If I tell you a warm cast is the mood, leave it.
Switch the color-grade-and-match skill on first.
Measure the card and the bottle, correct, measure againTerminal
# colormatch.py comes with the color-grade-and-match skill # One frame per take, 1 second in, while the grey card is in shot python3 colormatch.py frames daylight.mp4 --out frames --at 1 python3 colormatch.py frames lamp.mp4 --out frames --at 1 # The card, then the bottle against the reference colour from the daylight frame python3 colormatch.py measure frames/lamp_0001.00s.png --neutral 360,430,200,300 python3 colormatch.py measure frames/lamp_0001.00s.png --neutral 1090,400,220,140 --hex 964E16 # A correction made from the card, at the daylight card's level mkdir -p luts renders python3 colormatch.py correct frames/lamp_0001.00s.png --box 360,430,200,300 --luma 46.1 --out luts/lamp_fix.cube ffmpeg -n -i lamp.mp4 -vf "format=gbrp16le,lut3d=file='luts/lamp_fix.cube':interp=tetrahedral,format=yuv420p" \ -c:v libx264 -crf 18 -colorspace bt709 -color_primaries bt709 -color_trc bt709 -color_range tv renders/lamp_fixed.mp4 # Measure the real result, never the prediction python3 colormatch.py frames renders/lamp_fixed.mp4 --out frames --at 1 python3 colormatch.py measure frames/lamp_fixed_0001.00s.png --neutral 1090,400,220,140 --hex 964E16
Draw your own boxes on the card and the product, and look at them before you measure.
How to use
- Before filming, shoot one reference still of the product beside a grey card in daylight, and open every take with the card in shot for two seconds.
- Switch on the color-grade-and-match skill, in claude.ai under Customize, then Skills (Plugins on newer screens).
- Press Copy on the colour check prompt above, replace every [CAPITALS] field and send it.
- To run the steps yourself, use the measuring commands above with your own file names, box positions and reference hex.
- Check any take still more than 2 away from the reference against the real product by eye.
Tips
- Lock white balance and exposure before you record, so one correction holds for the whole clip.
- Amber and other warm colours hide a warm cast, so trust the grey card's reading over how the product looks.
- Judge the correction on numbers measured from the rendered frame, never on predicted ones.