Skip to content

Support RGBColor shorthand hex strings#1556

Draft
Mirochill wants to merge 1 commit into
python-openxml:masterfrom
Mirochill:fix-1466-rgbcolor-shorthand
Draft

Support RGBColor shorthand hex strings#1556
Mirochill wants to merge 1 commit into
python-openxml:masterfrom
Mirochill:fix-1466-rgbcolor-shorthand

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • Expand three-digit RGB shorthand strings before constructing RGBColor values.
  • Cover mixed-case shorthand values such as aBc in RGBColor.from_string().

Fixes #1466

Validation

  • git diff --check
  • git diff --check HEAD~1..HEAD
  • Not run locally beyond static diff checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to parse 3-digit RGB string

1 participant