Skip to content

Commit e96cac7

Browse files
authored
Update Converter.php - DarkYellow was wrong in the original FG_COLOR. Word outputs 128,128,0 or 808000.
1 parent 1d03aa3 commit e96cac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Shared/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public static function stringToRgb($value)
335335
case Color::DARKVIOLET:
336336
return '9400D3';
337337
case Color::DARKYELLOW:
338-
return '8B8B00';
338+
return '808000';
339339
case Color::FUCHSIA:
340340
return 'FF00FF';
341341
case Color::GOLD:

0 commit comments

Comments
 (0)