Skip to content

Commit

Permalink
Update swap-red-blue.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Landiie authored Nov 25, 2024
1 parent 410877b commit 7608670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc_posts/_commands-number/swap-red-blue.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Swaps red and blue value for a color in DEC format and returns its DEC value.
Useful for converting HTML colors to SAMMI or OBS colors.\
SAMMI uses BGR colors while OBS uses ABGR colors, instead of RGB colors.

{% include alert.html text="If you have a Hex string (like #1f9250) use [Hex String To Number]({{ 'commands/number#hexstringtonumber' | relative_url }}) to get a decimal number which you can use to swap red and blue values" type="warning" %}
{% include alert.html text="If you have a Hex string (like #1f9250) use <a href="docs/commands/number#hexstringtonumber">Hex String To Number</a> to get a decimal number which you can use to swap red and blue values" type="warning" %}

{% include alert.html text="As mentioned above, OBS uses ABGR. If you're converting for use in OBS, add the number 4278190080 after conversion to make it work. Check the example below." type="warning" %}

Expand Down

0 comments on commit 7608670

Please sign in to comment.