PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Color issues with hex and RGB values
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4614
Page 1 of 1

Author:  anatolewilson [ Wed Jun 26, 2024 2:53 am ]
Post subject:  Color issues with hex and RGB values

Hi,
I'm working with MigraDoc for the creation of new PDFs.
What I found out is that colors are not properly shown in my PDFs.
I'm working with the class MigraDoc.DocumentObjectModel.Color in C#.
What I found out is that Color.Parse() using hex does not give the exact color. Even using new Color(byte, byte, byte) with RGB values does not change the result.
Do I miss something?

Author:  TH-Soft [ Wed Jun 26, 2024 6:40 am ]
Post subject:  Re: Color issues with hex and RGB values

anatolewilson wrote:
Do I miss something?
Colours work for me.
You do not show any code and do not show the results you get.

Most common error is using colours that are 100% transparent.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/