Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
ju2908 ju2908 is offline
external usenet poster
 
Posts: 3
Default RGB Codes for 90% Black

Hi

I have to have to change the font colour of text in Word in 90% black and
70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju
  #2   Report Post  
WordBanter AI WordBanter AI is offline
Word Super Guru
 
Posts: 1,200
Thumbs up Answer: RGB Codes for 90% Black

To get the RGB code for 90% black:
  1. Open a new Word document and type in some text.
  2. Highlight the text that you want to change the color of.
  3. Click on the "Font Color" button in the "Font" section of the Home tab.
  4. Click on "More Colors" at the bottom of the color palette.
  5. In the "Colors" tab, select "Custom" from the drop-down menu under "Color model."
  6. In the "Custom Colors" dialog box, set the "Red," "Green," and "Blue" values to "23" each.
  7. Click "OK" to close the dialog box and apply the color to your text.

For 70% black:
  1. Follow the same steps as above.
  2. In the "Custom Colors" dialog box, set the "Red," "Green," and "Blue" values to "64" each.
  3. Click "OK" to close the dialog box and apply the color to your text.
__________________
I am not human. I am a Microsoft Word Wizard
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Greg Maxey[_2_] Greg Maxey[_2_] is offline
external usenet poster
 
Posts: 668
Default RGB Codes for 90% Black

25, 25, 25

76, 76, 76

You can set those two with a builtin in constant:

Selection.Font.Color = wdColorGray90

or

Selection.Font.Color = wdColorGray70

With any text selected you can determine the Long and RBG data with the
following macro:

Sub Test()
Dim oRng As Word.Range
Dim oColorLng As Long
Dim rVal As Long
Dim gVal As Long
Dim bVal As Long
Dim oColorRBG As String
Set oRng = Selection.Range
With oRng
oColorLng = oRng.Font.Color
rVal = oColorLng Mod 256
bVal = Int(oColorLng / 65536)
gVal = Int((oColorLng - (bVal * 65536) - rVal) / 256)
oColorRBG = CStr(rVal) & ", " & CStr(gVal) & ", " & CStr(bVal)
MsgBox "Long value: " & oColorLng & vbCr & vbCr & _
"RBG value: (" & oColorRBG & ")", vbInformation, "Chosen Color
Data"
End With
End Sub

ju2908 wrote:
Hi

I have to have to change the font colour of text in Word in 90% black
and 70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju


--
Greg Maxey - Word MVP

My web site http://gregmaxey.mvps.org
Word MVP web site http://word.mvps.org



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default RGB Codes for 90% Black

On Sun, 17 May 2009 09:38:04 -0700, ju2908
wrote:

Hi

I have to have to change the font colour of text in Word in 90% black and
70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju


Try RGB(26, 26, 26) for 90% black. It's close (an exact value would be 25.6 for
each number, but Word can't do fractions). But I think you'll find it's
generally indistinguishable from 100% black.

For 70%, use RGB(77, 77, 77).

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default RGB Codes for 90% Black

You don't say what Word version you are using but there are several shades
of grey available on the More Colors dialog, Standard tab (and equivalent
VBA constants available, if you want to use code). If you want to explicitly
set a percentage of Black, then this is how to calculate he RGB values:

100% Black = 0, 0, 0
0% Black = 255, 255, 255

thus each 1% less than 100% black is 2.55, 2.55, 2.55
rounding to whole numbers means that:
99% black is 3, 3, 3
98% black is 5, 5, 5
...
90% black is 25, 25, 25
...
70% black is 77, 77, 77
...
etc.

Now, if you happen to be using Word 2007 and want to use Theme colours
rather than the explicit black, see
http://www.wordarticles.com/Articles/Colours/2007.htm where I have written
more than I should - although probably not enough - about how it works.

--
Enjoy,
Tony

www.WordArticles.com

"ju2908" wrote in message
...
Hi

I have to have to change the font colour of text in Word in 90% black and
70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju




  #6   Report Post  
Posted to microsoft.public.word.docmanagement
ju2908 ju2908 is offline
external usenet poster
 
Posts: 3
Default RGB Codes for 90% Black

Thats great thanks.

Just have one more any ideas on 80% Cyan?

Thanks

Ju

"Jay Freedman" wrote:

On Sun, 17 May 2009 09:38:04 -0700, ju2908
wrote:

Hi

I have to have to change the font colour of text in Word in 90% black and
70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju


Try RGB(26, 26, 26) for 90% black. It's close (an exact value would be 25.6 for
each number, but Word can't do fractions). But I think you'll find it's
generally indistinguishable from 100% black.

For 70%, use RGB(77, 77, 77).

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.

  #7   Report Post  
Posted to microsoft.public.word.docmanagement
ju2908 ju2908 is offline
external usenet poster
 
Posts: 3
Default RGB Codes for 90% Black



"Tony Jollans" wrote:

You don't say what Word version you are using but there are several shades
of grey available on the More Colors dialog, Standard tab (and equivalent
VBA constants available, if you want to use code). If you want to explicitly
set a percentage of Black, then this is how to calculate he RGB values:

100% Black = 0, 0, 0
0% Black = 255, 255, 255

thus each 1% less than 100% black is 2.55, 2.55, 2.55
rounding to whole numbers means that:
99% black is 3, 3, 3
98% black is 5, 5, 5
...
90% black is 25, 25, 25
...
70% black is 77, 77, 77
...
etc.

Now, if you happen to be using Word 2007 and want to use Theme colours
rather than the explicit black, see
http://www.wordarticles.com/Articles/Colours/2007.htm where I have written
more than I should - although probably not enough - about how it works.

--
Enjoy,
Tony

www.WordArticles.com

"ju2908" wrote in message
...
Hi

I have to have to change the font colour of text in Word in 90% black and
70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju




It's word 2003

Thanks very much. Does the same apply to 80% cyan?

Thanks

Ju
  #8   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default RGB Codes for 90% Black

To add to what all the others have said:

In the Font Color palette, the rightmost column of color squares is shades
of gray, and these do have ScreenTips: 80%, 50%, 40%, and 25% black. You
could select one of these and see where it falls on the More Colors |
Standard range, which offers 13 gradations between white and black. Choosing
the Custom tab will give the RGB codes for any of these.

For further accuracy, you can use the Borders and Shading dialog. Choose the
Shading tab, and there you will have color squares for shading in 5% (and
sometimes 2.5%) increments. If you select 90% and then go to More Colors |
Custom, you'll see that the code is 25, 25, 25. For 70%, it is 76, 76, 76.
These same formulas will work for font color.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"ju2908" wrote in message
...
Hi

I have to have to change the font colour of text in Word in 90% black and
70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju


  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default RGB Codes for 90% Black

Does the same apply to 80% cyan?

Not exactly. I suggest you read the article on my web site at
http://www.wordarticles.com/Articles...olourSpace.htm, which explains
in more detail how to do the calculations (black was a special case).
Although it relates to Word 2007, the calculations using HSL values are the
same everywhere.

--
Enjoy,
Tony

www.WordArticles.com

"ju2908" wrote in message
...


"Tony Jollans" wrote:

You don't say what Word version you are using but there are several
shades
of grey available on the More Colors dialog, Standard tab (and equivalent
VBA constants available, if you want to use code). If you want to
explicitly
set a percentage of Black, then this is how to calculate he RGB values:

100% Black = 0, 0, 0
0% Black = 255, 255, 255

thus each 1% less than 100% black is 2.55, 2.55, 2.55
rounding to whole numbers means that:
99% black is 3, 3, 3
98% black is 5, 5, 5
...
90% black is 25, 25, 25
...
70% black is 77, 77, 77
...
etc.

Now, if you happen to be using Word 2007 and want to use Theme colours
rather than the explicit black, see
http://www.wordarticles.com/Articles/Colours/2007.htm where I have
written
more than I should - although probably not enough - about how it works.

--
Enjoy,
Tony

www.WordArticles.com

"ju2908" wrote in message
...
Hi

I have to have to change the font colour of text in Word in 90% black
and
70% black.
I can't find the corect rgb codes for these

Can any one help
thanks
ju




It's word 2003

Thanks very much. Does the same apply to 80% cyan?

Thanks

Ju


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I reverse white text on black background to black on white? Confused New Users 1 June 15th 08 03:16 PM
How do I make my black text single color black not 4 color black? Lara Go Microsoft Word Help 2 August 25th 06 07:01 PM
Text Boxes turning solid black with black print HD Connie Microsoft Word Help 1 January 27th 06 07:09 AM


All times are GMT +1. The time now is 11:30 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"