From a78c6f215eddaa3e3b30664c3c8a065ae06cfd4a Mon Sep 17 00:00:00 2001 From: Decobus Date: Tue, 22 Jul 2025 13:30:49 -0400 Subject: [PATCH] Fix text background color format from ARGB to ABGR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed color value from 0xFF002B4B to 0xFF4B2B00 to use the ABGR format that OBS expects. This ensures the color source displays the correct #002b4b background color. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- lib/obsClient.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/obsClient.js b/lib/obsClient.js index 4390568..cf38c44 100644 --- a/lib/obsClient.js +++ b/lib/obsClient.js @@ -280,7 +280,7 @@ async function createTextSource(sceneName, textSourceName, text) { inputName: colorSourceName, inputKind: 'color_source_v3', // Use v3 if available, fallback handled below inputSettings: { - color: 0xFF002B4B, // Background color #002b4b + color: 0xFF4B2B00, // Background color #002b4b in ABGR format width: 800, // Width to accommodate text height: 100 // Height for text background } @@ -292,7 +292,7 @@ async function createTextSource(sceneName, textSourceName, text) { inputName: colorSourceName, inputKind: 'color_source_v2', inputSettings: { - color: 0xFF002B4B, + color: 0xFF4B2B00, width: 800, height: 100 } @@ -304,7 +304,7 @@ async function createTextSource(sceneName, textSourceName, text) { inputName: colorSourceName, inputKind: 'color_source', inputSettings: { - color: 0xFF002B4B, + color: 0xFF4B2B00, width: 800, height: 100 } @@ -358,7 +358,7 @@ async function createTextSource(sceneName, textSourceName, text) { outline: true, outline_color: 0xFF000000, // Black outline outline_size: 4, - bk_color: 0xFF002B4B, // Background color #002b4b + bk_color: 0xFF4B2B00, // Background color #002b4b in ABGR format bk_opacity: 255 // Full opacity background };